summaryrefslogtreecommitdiffhomepage
path: root/ui/build.gradle
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-15 11:23:04 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-15 12:30:15 +0200
commitf20d0f0659c6a1f2f078a000b4b621b18e01f907 (patch)
tree6cb2a63820cae04a675781fc5f69eecc600bb5b5 /ui/build.gradle
parent9346a637530bbca53a16f8b0c4a3b91f4f9b3229 (diff)
gradle: desugar retrofuture and remove old deps
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/build.gradle')
-rw-r--r--ui/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index 2701466e..0f258dc6 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -24,6 +24,7 @@ android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
+ coreLibraryDesugaringEnabled = true
}
if (keystorePropertiesFile.exists()) {
final def keystoreProperties = new Properties()
@@ -69,6 +70,7 @@ dependencies {
implementation "com.journeyapps:zxing-android-embedded:$zxingEmbeddedVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutinesVersion"
+ coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarVersion"
}
tasks.withType(JavaCompile) {