diff --git a/app/build.gradle b/app/build.gradle index 2a81ba5..a8cd7af 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,6 +31,7 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 + coreLibraryDesugaringEnabled true } configurations { @@ -55,6 +56,7 @@ dependencies { implementation 'androidx.recyclerview:recyclerview:1.3.0' implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" implementation 'commons-io:commons-io:2.11.0' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs_nio:2.0.4' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'