kunfei 3 лет назад
Родитель
Сommit
bddef6876d
3 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      app/build.gradle
  2. 1 1
      rhino/build.gradle
  3. BIN
      rhino/lib/rhino-1.7.14-1.jar

+ 2 - 2
app/build.gradle

@@ -111,7 +111,7 @@ android {
 
 
     compileOptions {
     compileOptions {
         // Flag to enable support for the new language APIs
         // Flag to enable support for the new language APIs
-        coreLibraryDesugaringEnabled true
+        coreLibraryDesugaringEnabled false
         // Sets Java compatibility to Java 11
         // Sets Java compatibility to Java 11
         sourceCompatibility JavaVersion.VERSION_11
         sourceCompatibility JavaVersion.VERSION_11
         targetCompatibility JavaVersion.VERSION_11
         targetCompatibility JavaVersion.VERSION_11
@@ -135,7 +135,7 @@ android {
 dependencies {
 dependencies {
     compileOnly "com.android.tools.build:gradle:$agp_version"
     compileOnly "com.android.tools.build:gradle:$agp_version"
     //noinspection GradleDependency,GradlePackageUpdate
     //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')
     testImplementation('junit:junit:4.13.2')
     androidTestImplementation('androidx.test:runner:1.5.2')
     androidTestImplementation('androidx.test:runner:1.5.2')
     androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1')
     androidTestImplementation('androidx.test.espresso:espresso-core:3.5.1')

+ 1 - 1
rhino/build.gradle

@@ -35,5 +35,5 @@ android {
 }
 }
 
 
 dependencies {
 dependencies {
-    api(fileTree(dir: 'lib', include: ['rhino-*.jar']))
+    api(fileTree(dir: 'lib', include: ['rhino-1.7.14-1.jar']))
 }
 }

BIN
rhino/lib/rhino-1.7.14-1.jar