Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Mar 29, 2023
1 parent d59ef46 commit 058cc93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ android {

compileOptions {
// Flag to enable support for the new language APIs
// 开启后rhino1.4.1会报错,rhino1.4.1已经脱糖处理
coreLibraryDesugaringEnabled false
coreLibraryDesugaringEnabled true
// Sets Java compatibility to Java 11
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
Expand All @@ -135,8 +134,8 @@ android {

dependencies {
compileOnly "com.android.tools.build:gradle:$agp_version"
//noinspection GradleDependency,GradlePackageUpdate,脱糖库和rhino冲突,rhino1.4.1已经脱糖处理
//coreLibraryDesugaring('com.android.tools:desugar_jdk_libs_nio:2.0.2')
//noinspection GradleDependency,GradlePackageUpdate
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.ext:junit:1.1.5')
Expand Down
1 change: 1 addition & 0 deletions app/src/main/assets/updateLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
**2023/03/29**

* 修复低于android7.0版本无法恢复备份的问题
* 修复低版本安卓崩溃的问题

**2023/03/28**

Expand Down

0 comments on commit 058cc93

Please sign in to comment.