aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-05-29 12:45:58 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-05-29 12:45:58 +0530
commitf905f92e04b0db91f646b95eb2baa79065e33401 (patch)
treef4cf2e0d00b934d882499207623ab1c9bb61532b
parentglobal: use d8 for desugar with agp4 (diff)
downloadwireguard-android-jd/agp4.tar.xz
wireguard-android-jd/agp4.zip
build: add desugar_jdk_libs dependencyjd/agp4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r--build.gradle1
-rw-r--r--tunnel/build.gradle1
-rw-r--r--ui/build.gradle1
3 files changed, 3 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index e1b5b1a1..a5f9e268 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,6 +18,7 @@ buildscript {
coordinatorLayoutVersion = '1.1.0'
coreKtxVersion = '1.2.0'
coroutinesVersion = '1.3.5'
+ desugarJdkLibsVersion = '1.0.5'
eddsaVersion = '0.3.0'
fragmentVersion = '1.2.4'
jsr305Version = '3.0.2'
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index 639e30ac..ba1a83fd 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -51,6 +51,7 @@ android {
}
dependencies {
+ coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarJdkLibsVersion"
implementation "androidx.annotation:annotation:$annotationsVersion"
implementation "androidx.collection:collection:$collectionVersion"
implementation "com.google.code.findbugs:jsr305:$jsr305Version"
diff --git a/ui/build.gradle b/ui/build.gradle
index e59fa764..84a9e7a7 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -65,6 +65,7 @@ android {
}
dependencies {
+ coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugarJdkLibsVersion"
implementation project(":tunnel")
implementation "androidx.annotation:annotation:$annotationsVersion"
implementation "androidx.appcompat:appcompat:$appcompatVersion"