kscript icon indicating copy to clipboard operation
kscript copied to clipboard

Scripting enhancements for Kotlin

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

When `kscript` runs `kotlinc`, somehow it can't find `java`. Java, Kotlin and kscript are all installed via SDKMAN! in Cygwin on Windows 10. Running via zsh 5.8. ``` $ sdk...

Hi! I really am enjoying using kscript. However, one thing that I think is impossible at the moment is being able to pass a custom classpath. Running vanilla `kotlinc` allows...

enhancement

Hi, after lurking the old issues and trying several options, I still could not find how to add modules. I see that the issues there and under Kotlin are now...

I'm not sure this is possible, but I didn't realize that if you are using a multiplatform capable library, you have to only depend on the jvm version of it....

the userguide example for text dsl (using lines) is missing the -t arg to kscript.

Unable to access redshift database using this as a guide. https://docs.aws.amazon.com/redshift/latest/mgmt/connecting-in-code.html Given the errors are ClassNotFoundException I thought it might be a configuration issue. Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/SQLException...

In my case, I have my `main` in package `x.y` and want to INCLUDE / DependsOn a file in package `x.a` as well as in package `x.y.z` ```kotlin @file:DependOn(...) @file:Include("../helpers/CamelCase.kt")...

I built the kscript 3.1.0 Docker image (didn't find it the main docker repo) and based a Dockerfile on that, to create a script-image with prepopulated dependencies: ``` FROM .../kscript:3.1.0...

I bumped a weird case where dependencies failed to resolve while they should in theory be there. To reproduce the issue, create a `test.kts` file containing: ```kotlin #!/usr/bin/env kscript @file:MavenRepository("gradleReleases",...

I use the provided docker image which I run in Kubernetes with a simple script. It seems it does not even compile with 3G of memory and following: ``` #!/usr/bin/env...