summaryrefslogtreecommitdiff
path: root/test_project/build.gradle.kts
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-11-02 22:55:23 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-11-02 22:55:52 +0100
commit2a4f2fb7e985a3a733ac5d7a1d107e68538c8e18 (patch)
treedc0d0cf8188b69354bdbcd22f9d298702939d067 /test_project/build.gradle.kts
Initial commit
Diffstat (limited to 'test_project/build.gradle.kts')
-rw-r--r--test_project/build.gradle.kts24
1 files changed, 24 insertions, 0 deletions
diff --git a/test_project/build.gradle.kts b/test_project/build.gradle.kts
new file mode 100644
index 0000000..720abe1
--- /dev/null
+++ b/test_project/build.gradle.kts
@@ -0,0 +1,24 @@
+// kotlin-proxy demo — STANDARD plugins{} syntax.
+//
+// The narrowed compiler-stub jar is placed FIRST on the buildscript
+// classpath so the Kotlin COMPILER path is shadowed, while the real KGP
+// plugin (org.jetbrains.kotlin.gradle.*) is left intact so it can apply
+// and the project can configure. plugins{} resolves AGP/KGP from the
+// buildscript classpath above (stubs first), so the ordering is preserved.
+buildscript {
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ // 1) kotlin-proxy compiler stubs — must come before AGP/KGP
+ // (TEMP: disabled for the no-stub baseline run)
+ 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")
+ }
+}
+
+plugins {
+ alias(libs.plugins.android.application) apply false
+}