This uses Kotlin's support for scripts with the .kts extension i.e. kotlin temp.kts.
There's also experimental support in the compiler for script customization e.g. the .main.kts file extension allows for importing other files and dependencies but since this doesn't seem to be well documented this PR sticks to the conservative option.
This uses Kotlin's support for scripts with the
.kts
extension i.e.kotlin temp.kts
.There's also experimental support in the compiler for script customization e.g. the
.main.kts
file extension allows for importing other files and dependencies but since this doesn't seem to be well documented this PR sticks to the conservative option.See:
Changes Introduced