Commit 85d04ba6 authored by Mygod's avatar Mygod

Fix coreLibraryDesugaring

parent 698e6674
......@@ -10,6 +10,7 @@ buildscript {
sdkVersion = 29
compileSdkVersion = 29
lifecycleVersion = '2.2.0-rc03'
desugarLibsVersion = '1.0.4'
junitVersion = '4.13'
androidTestVersion = '1.2.0'
androidEspressoVersion = '3.2.0'
......
......@@ -70,7 +70,7 @@ dependencies {
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$coroutinesVersion"
api 'org.connectbot.jsocks:jsocks:1.0.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.4'
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarLibsVersion"
kapt "androidx.room:room-compiler:$roomVersion"
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.room:room-testing:$roomVersion"
......
......@@ -29,7 +29,6 @@ android {
}
buildTypes {
debug {
multiDexEnabled true
pseudoLocalesEnabled true
}
release {
......@@ -39,6 +38,7 @@ android {
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
......@@ -59,6 +59,7 @@ androidExtensions {
}
dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarLibsVersion"
implementation project(':core')
implementation 'androidx.browser:browser:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta4'
......
......@@ -28,7 +28,6 @@ android {
}
buildTypes {
debug {
multiDexEnabled true
pseudoLocalesEnabled true
}
release {
......@@ -38,6 +37,7 @@ android {
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
......@@ -54,6 +54,7 @@ android {
}
dependencies {
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarLibsVersion"
implementation project(':core')
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.leanback:leanback-preference:1.1.0-alpha03'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment