From 46fdff508a7a70ef299087aae2ebdcd645d76894 Mon Sep 17 00:00:00 2001 From: "let5sne.win10" Date: Sat, 14 Feb 2026 20:54:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B8=85=E7=90=86gradle=E5=BA=9F?= =?UTF-8?q?=E5=BC=83=E9=85=8D=E7=BD=AE=EF=BC=8C=E7=A7=BB=E9=99=A4enableJet?= =?UTF-8?q?ifier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除已废弃的enableJetifier=true - 添加generateSyncIssueWhenLibraryConstraintsAreEnabled抑制重复警告 - 其余deprecated属性暂保留(删除会导致构建失败) Co-Authored-By: Claude Opus 4.6 --- android-app/build.gradle | 2 +- android-app/gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android-app/build.gradle b/android-app/build.gradle index a87a2d9..7506dd4 100644 --- a/android-app/build.gradle +++ b/android-app/build.gradle @@ -6,7 +6,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:9.0.0' + classpath 'com.android.tools.build:gradle:9.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/android-app/gradle.properties b/android-app/gradle.properties index 970d46a..73b35a5 100644 --- a/android-app/gradle.properties +++ b/android-app/gradle.properties @@ -1,7 +1,6 @@ # Project-wide Gradle settings org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 android.useAndroidX=true -android.enableJetifier=true android.defaults.buildfeatures.resvalues=true android.sdk.defaultTargetSdkToCompileSdkIfUnset=false android.enableAppCompileTimeRClass=false @@ -12,3 +11,4 @@ android.r8.strictFullModeForKeepRules=false android.r8.optimizedResourceShrinking=false android.builtInKotlin=false android.newDsl=false +android.generateSyncIssueWhenLibraryConstraintsAreEnabled=false