mgtriffid
05/10/2017, 1:16 PM@Grab
annotation. Or this is not implemented yet and I should pick some 3rd-party thing like kscript? It seems fine, but I'd prefer solution from JB of courseilya.chernikov
05/11/2017, 9:47 AMkotlin-script-util
library. It is not out of box though, you’ll need to create your own script launcher, but it is quite easy to do. E.g. have a look at this test - https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-script-util/src/test/kotlin/org/jetbrains/kotlin/script/util/ScriptUtilIT.kt#L92 compiling this script: https://github.com/JetBrains/kotlin/blob/master/libraries/tools/kotlin-script-util/src/test/resources/scripts/args-junit-hello-world.ktsmgtriffid
05/11/2017, 9:49 AM