summary : Standalone compiler toolchain for native Kotlin applications and libraries
@@ -12,33 +20,36 @@
Kotlin/Native is primarily designed to allow compilation for platforms where virtual machines are not desirable or possible (such as iOS, embedded targets), or where developer is willing to produce reasonably-sized self-contained program without need to ship an additional execution runtime.
networking : true
environment: |
- # prevents Gradle wrapper from failing to extract to ~/.gradle
- export GRADLE_USER_HOME=$workdir/.gradle
- # prevents Java from failing to create ~/.java
- export HOME=$workdir/.home
- # prevents Konan from failing to create ~/.konan
- export KONAN_DATA_DIR=$workdir/.konan
- # prevents Gradle from complaining about termcap info
+ # prevents Gradle, Konan, and Java from failing to create files in ~
+ export HOME=$workdir/tmphome
+ export GRADLE_USER_HOME=$HOME/gradle
+ export KONAN_DATA_DIR=$HOME/konan
+ # prevents Gradle from dying due to being unable to identify some terminals like Kitty
export TERM=xterm-256color
- # prevents Gradle from spawning daemons and never closing them