summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@opera.com>2026-11-23 21:37:27 +0100
committerJoel Klinghed <the_jk@opera.com>2026-11-23 21:37:27 +0100
commitf6d1b9d25ede46567a8da89f01b3db915a25798d (patch)
tree8e29662d604ae12adc86f2217e5c361ff4bfe8ed /README.md
parentaa447e9da491738c108ca5807013963abc2a5acd (diff)
Add support for kotlin.proxy.nativeImage system propertyHEADmain
Allow overriding which native image is used.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 38df3c6..08cf1c2 100644
--- a/README.md
+++ b/README.md
@@ -325,6 +325,12 @@ via `org.gradle.jvmargs` or the daemon's own args):
| `kotlin.proxy.log.mode` | `all` | `all` \| `classes` (loads only) \| `off` |
| `kotlin.proxy.marker` | `/tmp/kotlin-proxy-marker.txt` | fixed-path copy of every line |
+`KotlinProxyOverrides` honors one more system property, also read in the daemon JVM:
+
+| property | default | meaning |
+|---|---|---|
+| `kotlin.proxy.nativeImage` | unset | native-image distribution root (it holds `bin/kotlinc-native-image.sh`), for example `~/source/kotlin/prepare/compiler-native-image/build/dist`. If unset, the stub downloads the JetBrains release into `<user.dir>/native-image/`. |
+
The marker file is what proves the stub ran **inside the out-of-process
daemon** (its thread name is `RMI TCP Connection(N)`), regardless of the
daemon's working directory or missing `-Dkotlin.proxy.log`: