kscript icon indicating copy to clipboard operation
kscript copied to clipboard

Scripting enhancements for Kotlin

Results 58 kscript issues
Sort by recently updated
recently updated
newest added

Draft PR - there is still more to do. @holgerbrandl - Can you please release a patched version of kscript 4.0? That way users can still use version 4, while...

Maybe we can create a GitHub organization named: kotlin-scripting and transfer kscript to that organization? Then we could build a release process around a new organization (user names/passwords). I have...

Would it be possible to publish the jar to maven? I would like to create a Python wrapper as mentioned on https://github.com/holgerbrandl/kscript/issues/362 , and ideally want to be able to...

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Please do not litter my home directory with a `.kscript` folder.

Recreated PR since I can't change the source branch. An unrelated note, since sdkman is recommended as a package manager: it works only with bash, but IDEA starts from sh...

While older versions were running e.g. on git-bash, this fails with 4.x ``` kscript "println(1+1)" [kscript] [ERROR] compilation of scriplet failed [kscript] [ERROR] Command : bash -c kotlinc -d 'C:\Users\brandl\.kscript\cache\jar_2ccd53e06b0355d3573a4ae8698398fe\scriplet.jar'...

bug

Installed from the AUR. Error message: ```shell $ kscript 'println("Hello world")' /usr/bin/kscript: line 49: /usr/share/kotlin/bin/kotlin: No such file or directory ``` Correct path to the Kotlin binary: ```shell $ command...

help wanted

Freshly installed SDKMAN, kotlin, and kscript; exactly according to the instructions provided in the README. `christian@openPEPE:~> kscript` `[kscript] [ERROR] Unsupported OS: linux` Using openSUSE Tumbleweed x86_64. OpenJDK/JRE 17.0.3+7-suse.

The new Docker images don't work for me. It sounds like problems with the alpine image: ``` $ docker run -i holgerbrandl/kscript:4.0.0 'println("Hello, world!")' Hello, world! $ docker run -i...

This line https://github.com/holgerbrandl/kscript/blob/dc827753adf707cf31cd220716e85139cae2d9cd/src/main/kotlin/kscript/app/code/GradleTemplates.kt#L44 fails to pick up Kotlin options declared like this: https://github.com/holgerbrandl/kscript/blob/dc827753adf707cf31cd220716e85139cae2d9cd/test/resources/package_example.kts#L1 I see that the `Script` has these two fields: https://github.com/holgerbrandl/kscript/blob/dc827753adf707cf31cd220716e85139cae2d9cd/src/main/kotlin/kscript/app/model/Script.kt#L21-L22 However the `kotlinOpts` seems not to be...