diff --git a/app/build.gradle b/app/build.gradle index 6702362f2..d76a93093 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -111,7 +111,7 @@ android { compileOptions { // Flag to enable support for the new language APIs - coreLibraryDesugaringEnabled true + coreLibraryDesugaringEnabled false // Sets Java compatibility to Java 11 sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 @@ -135,7 +135,7 @@ android { dependencies { compileOnly "com.android.tools.build:gradle:$agp_version" //noinspection GradleDependency,GradlePackageUpdate - coreLibraryDesugaring('com.android.tools:desugar_jdk_libs_nio:2.0.2') + //coreLibraryDesugaring('com.android.tools:desugar_jdk_libs_nio:2.0.2') testImplementation('junit:junit:4.13.2') androidTestImplementation('androidx.test:runner:1.5.2') androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1') diff --git a/rhino/build.gradle b/rhino/build.gradle index f973b7437..671b3dcbe 100644 --- a/rhino/build.gradle +++ b/rhino/build.gradle @@ -35,5 +35,5 @@ android { } dependencies { - api(fileTree(dir: 'lib', include: ['rhino-*.jar'])) + api(fileTree(dir: 'lib', include: ['rhino-1.7.14-1.jar'])) } \ No newline at end of file diff --git a/rhino/lib/rhino-1.7.14-1.jar b/rhino/lib/rhino-1.7.14-1.jar new file mode 100644 index 000000000..8dedf14ff Binary files /dev/null and b/rhino/lib/rhino-1.7.14-1.jar differ