diff --git a/app/build.gradle b/app/build.gradle index 08a759b..edd6344 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,6 +45,8 @@ android { } compileOptions { + coreLibraryDesugaringEnabled true + sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } @@ -63,6 +65,8 @@ android { } dependencies { + coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5" + // required for TermuxWidgetControlsProviderService implementation "org.reactivestreams:reactive-streams:1.0.3" implementation "io.reactivex.rxjava2:rxjava:2.2.10"