Respect JAVA_OPTS env variable in CLI tools. (#1478)

This commit is contained in:
Nikolay Igotti
2018-04-09 10:08:00 +03:00
committed by GitHub
parent c046372025
commit 6415734881
3 changed files with 10 additions and 2 deletions
+6
View File
@@ -19,3 +19,9 @@ It will produce platform-specific shared object (.so on Linux, .dylib on macOS a
C language header, allowing to use all public APIs available in your Kotlin/Native program from C code.
See `samples/python_extension` as an example of using such shared object to provide a bridge between Python and
Kotlin/Native.
Q: How do I run Kotlin/Native behind corporate proxy?
A: As Kotlin/Native need to download platform specific toolchain, you need to specify
`-Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx` as compiler's or `gradlew` arguments,
or set it via `JAVA_OPTS` environment variable.