CLI: pin the Android template to AGP 8.13.0 on Gradle 8.13
The generated project shipped AGP 8.7.0 against the Gradle 8.13 wrapper, a pair Gradle 9.1.0 does not accept: AGP 8.7 predates Gradle 9 and its configuration fails outright. Move both to the newest matched pair that AGP documents (8.13.0 requires Gradle 8.13+), which is also the first AGP that builds cleanly against compileSdk 36. Kotlin stays at 2.0.20 deliberately: the template's app build script still uses the removed `kotlinOptions` block, so a KGP 2.2.x bump needs that rewritten first.
This commit is contained in:
1 parent
48baafc3ff
commit
657e6f2125
2 files changed
+2
-2
No files matched your search
@@ -4,7 +4,7 @@ buildscript {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:8.7.0")
|
||||
classpath("com.android.tools.build:gradle:8.13.0")
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-9.1.0-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
Reference in new issue
Block a user