diff --git a/app/build.gradle b/app/build.gradle index 9162ad0940..6bbd64ec6d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -512,6 +512,7 @@ configurations.configureEach { dependencies { //implementation fileTree(dir: 'libs', include: ['*.jar']) + def desugar_version = "2.0.4" def startup_version = "1.1.1" // 1.2.0-alpha02 def annotation_version_experimental = "1.3.1" // 1.4.0-beta01 def core_version = "1.12.0" // 1.13.0-alpha02 @@ -573,7 +574,7 @@ dependencies { def tinylog_version = "2.6.2" // https://mvnrepository.com/artifact/com.android.tools/desugar_jdk_libs?repo=google - coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' + coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:$desugar_version" // https://developer.android.com/jetpack/androidx/releases/startup implementation "androidx.startup:startup-runtime:$startup_version"