Update dependencies

This commit is contained in:
Mygod
2019-08-11 14:35:15 +08:00
parent 7142fa7378
commit a72075ef2e
5 changed files with 24 additions and 19 deletions

View File

@@ -8,12 +8,21 @@ if (!getGradle().getStartParameter().getTaskRequests().toString().contains("Fdro
apply plugin: 'io.fabric'
}
def javaVersion = JavaVersion.VERSION_1_8
def aux = [
'com.crashlytics.sdk.android:crashlytics:2.10.1',
'com.google.firebase:firebase-core:17.0.1',
]
def lifecycleVersion = '2.2.0-alpha03'
def roomVersion = '2.1.0'
android {
compileSdkVersion 29
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
kotlinOptions.jvmTarget = javaVersion
defaultConfig {
applicationId "be.mygod.vpnhotspot"
minSdkVersion 21
@@ -63,17 +72,11 @@ androidExtensions {
experimental = true
}
def aux = [
'com.crashlytics.sdk.android:crashlytics:2.10.1',
'com.google.firebase:firebase-core:17.0.1',
]
def lifecycleVersion = '2.2.0-alpha02'
def roomVersion = '2.1.0'
dependencies {
kapt "androidx.room:room-compiler:$roomVersion"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.core:core-ktx:1.1.0-rc02'
implementation 'androidx.core:core-ktx:1.1.0-rc03'
implementation 'androidx.emoji:emoji:1.0.0'
implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion"
@@ -82,7 +85,8 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
implementation 'androidx.preference:preference:1.1.0-rc01'
implementation "androidx.room:room-ktx:$roomVersion"
implementation 'com.android.billingclient:billing:2.0.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
implementation 'com.android.billingclient:billing:2.0.3'
implementation 'com.github.topjohnwu.libsu:core:2.5.0'
implementation 'com.google.android.material:material:1.1.0-alpha09'
implementation 'com.jakewharton.timber:timber:4.7.1'
@@ -90,7 +94,7 @@ dependencies {
implementation 'com.takisoft.preferencex:preferencex-simplemenu:1.0.0'
implementation 'net.glxn.qrgen:android:2.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-RC'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0-RC2'
for (dep in aux) {
freedomImplementation dep
googleImplementation dep