Update Gradle and AGP to 9.5 and 9.3.1.

This commit is contained in:
Miku AuahDark
2026-07-25 13:43:26 +08:00
parent ceae396832
commit fe15119efc
4 changed files with 14 additions and 4 deletions
+2 -2
View File
@@ -6,14 +6,14 @@ plugins {
android { android {
namespace "org.love2d.android" namespace "org.love2d.android"
ndkVersion '27.1.12297006' ndkVersion '27.3.13750724'
defaultConfig { defaultConfig {
applicationId project.properties["app.application_id"] applicationId project.properties["app.application_id"]
versionCode project.properties["app.version_code"].toInteger() versionCode project.properties["app.version_code"].toInteger()
versionName project.properties["app.version_name"] versionName project.properties["app.version_name"]
minSdk 23 minSdk 23
compileSdk 35 compileSdk = 35
targetSdk 35 targetSdk 35
externalNativeBuild { externalNativeBuild {
+1 -1
View File
@@ -5,7 +5,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:8.13.2' classpath 'com.android.tools.build:gradle:9.3.1'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
+10
View File
@@ -16,3 +16,13 @@ android.enableJetifier=false
android.useAndroidX=true android.useAndroidX=true
android.nonTransitiveRClass=true android.nonTransitiveRClass=true
android.nonFinalResIds=true android.nonFinalResIds=true
android.defaults.buildfeatures.resvalues=true
android.sdk.defaultTargetSdkToCompileSdkIfUnset=false
android.enableAppCompileTimeRClass=false
android.usesSdkInManifest.disallowed=false
android.uniquePackageNames=false
android.dependency.useConstraints=true
android.r8.strictFullModeForKeepRules=false
android.r8.optimizedResourceShrinking=false
android.builtInKotlin=false
android.newDsl=false
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.0-bin.zip
networkTimeout=10000 networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists