enable core library desugaring

This commit is contained in:
Matthew Fosse 2024-12-18 14:03:46 -05:00
parent a032d86653
commit 7338e49888

View file

@ -64,6 +64,10 @@ android {
}
}
compileOptions {
coreLibraryDesugaringEnabled true
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
@ -94,6 +98,7 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
}
configurations {
implementation.exclude module:'proto-google-common-protos'