diff --git a/app/build.gradle b/app/build.gradle index d275cece8..ca5fcff43 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -46,6 +46,7 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 + coreLibraryDesugaringEnabled true } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() @@ -77,6 +78,8 @@ afterEvaluate { } } dependencies { + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.2' + //noinspection GradleDependency implementation('com.github.KotatsuApp:kotatsu-parsers:96b9ac36f3') { exclude group: 'org.json', module: 'json'