d8989aa95c
Original 8.x toolchain choked on the ci-android image's JDK 25 with an
opaque "25.0.3" error in `ktlintCheck`; Gradle 8.10's JDK compat matrix
caps at 23. Modern chain:
- Gradle 9.1.0 (first to support JDK 25)
- AGP 9.0.1 (requires Gradle 9.1+, requires Kotlin 2.2.10+)
- Kotlin 2.2.21 / KSP 2.2.21-2.0.5 (latest 2.2.x line)
- Compose BOM 2026.05.01 (current; pulls ui-text-google-fonts at the
BOM-managed version, so the explicit pin was dropped)
AGP 9.0 breaking changes that affected us:
- `kotlin-android` plugin no longer needed — AGP 9 auto-enables via
`android.builtInKotlin=true` default. Removed alias from both the
root build.gradle.kts and :app/build.gradle.kts.
- `applicationVariants` API removed; we don't use it.
- Other defaults flipped (useAndroidx, uniquePackageNames, etc.) but
we already set them explicitly or weren't relying on the old defaults.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
616 B
Kotlin
14 lines
616 B
Kotlin
plugins {
|
|
alias(libs.plugins.android.application) apply false
|
|
// kotlin-android plugin no longer needed: AGP 9.0+ auto-enables via
|
|
// android.builtInKotlin=true (default). Kept the serialization +
|
|
// compose-compiler plugins, which are language-level (Kotlin compiler)
|
|
// plugins still applied explicitly per module.
|
|
alias(libs.plugins.kotlin.serialization) apply false
|
|
alias(libs.plugins.ksp) apply false
|
|
alias(libs.plugins.hilt) apply false
|
|
alias(libs.plugins.compose.compiler) apply false
|
|
alias(libs.plugins.ktlint) apply false
|
|
alias(libs.plugins.detekt) apply false
|
|
}
|