From f6d1b9d25ede46567a8da89f01b3db915a25798d Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 23 Nov 2026 21:37:27 +0100 Subject: Add support for kotlin.proxy.nativeImage system property Allow overriding which native image is used. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') 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 `/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`: -- cgit v1.3.1