diff --git a/app/build.gradle b/app/build.gradle index e7461506f..e90d3f80d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -59,6 +59,7 @@ android { encoding "UTF-8" sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 + coreLibraryDesugaringEnabled true } lint { @@ -147,4 +148,6 @@ dependencies { implementation 'com.squareup.okhttp3:okhttp:4.12.0' implementation 'org.jmdns:jmdns:3.6.3' implementation 'com.github.cgutman:ShieldControllerExtensions:1.0.1' + + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5' }