(misc) enable core desugar

Signed-off-by: androidacy-user <opensource@androidacy.com>
master
androidacy-user 1 year ago
parent 5980b20939
commit ea1f44dfd1

@ -287,6 +287,7 @@ android {
}
compileOptions {
isCoreLibraryDesugaringEnabled = true
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
@ -459,6 +460,9 @@ dependencies {
// debugging
debugImplementation("com.squareup.leakcanary:leakcanary-android:2.10")
// desugaring
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3")
}
android {

Loading…
Cancel
Save