Skip to content

Commit 05307a6

Browse files
committed
enable desugaring
1 parent 6728f31 commit 05307a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/tests/android/testapp/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ android {
6060
compileOptions {
6161
sourceCompatibility = 1.8
6262
targetCompatibility = 1.8
63+
coreLibraryDesugaringEnabled true
6364
}
6465
}
6566

@@ -71,6 +72,7 @@ dependencies {
7172
implementation 'androidx.core:core:1.2.0'
7273
implementation 'androidx.core:core-ktx:1.2.0'
7374
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
75+
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
7476

7577
testImplementation 'junit:junit:4.13'
7678

0 commit comments

Comments
 (0)