chore(android): upgrade toolchain to AGP 8.13.1 / Kotlin 2.3.0 (#23)

Bump Android Gradle Plugin from 8.11.1 to 8.13.1 and Kotlin from
2.2.20 to 2.3.0 to align with newer plugin version requirements.

Kotlin 2.3.0 removed the kotlinOptions DSL free-string assignment.
Migrate to the compilerOptions DSL for JVM target configuration.

Gradle wrapper remains at 8.14 (compatible with AGP 8.13.1).
This commit is contained in:
Edison Jwa
2026-06-05 20:54:51 +09:00
committed by GitHub
parent 12e3a1f4ee
commit 2c7b68e21e
2 changed files with 6 additions and 4 deletions
@@ -63,8 +63,10 @@ android {
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
kotlin {
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}
defaultConfig {
@@ -19,8 +19,8 @@ pluginManagement {
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
id("com.android.application") version "8.13.1" apply false
id("org.jetbrains.kotlin.android") version "2.3.0" apply false
}
include(":app")