summaryrefslogtreecommitdiff
path: root/test_project/build.gradle.kts
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-07 11:00:16 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-07 11:00:16 +0100
commite7ad22515e1d79f02f8cf2c88435e26854552a46 (patch)
treee237ab8083b2919f8ddd18af762e9a03f01a1919 /test_project/build.gradle.kts
parent64223f61fc8413ad69ba0e814fbbc552a6c57c33 (diff)
Bump kotlin to 2.4.21
Support <clinit>
Diffstat (limited to 'test_project/build.gradle.kts')
-rw-r--r--test_project/build.gradle.kts8
1 files changed, 6 insertions, 2 deletions
diff --git a/test_project/build.gradle.kts b/test_project/build.gradle.kts
index da8ee01..196c760 100644
--- a/test_project/build.gradle.kts
+++ b/test_project/build.gradle.kts
@@ -13,8 +13,12 @@ buildscript {
dependencies {
// 1) kotlin-proxy compiler stubs — must come before AGP/KGP
classpath(files("../dist/kotlin-proxy-compiler-stubs.jar"))
- // 2) AGP (pulls kotlin-gradle-plugin 2.2.10 transitively)
- classpath("com.android.tools.build:gradle:9.4.1")
+ // 2) KGP — AGP 9.x's built-in Kotlin pins its own KGP version; an
+ // explicit buildscript classpath dep upgrades it (AGP 9.0 release
+ // notes: "Runtime dependency on Kotlin Gradle plugin")
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${libs.versions.kotlin.get()}")
+ // 3) AGP
+ classpath("com.android.tools.build:gradle:${libs.versions.agp.get()}")
}
}