Files
dioxus/packages/cli/assets/android/gen/build.gradle.kts
T
swaits 657e6f2125 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.
2026-09-06 12:08:45 -06:00

23 lines
377 B
Kotlin

buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.13.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20")
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("clean").configure {
delete("build")
}