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

Hi! I don't manage to include a private maven repository from gitlab maven repos (https://docs.gitlab.com/ee/user/packages/maven_repository) Using the library from gradle in intellij works, but not with kscript dependencies. Is this...

Hello there, and thanks for kscript! I would like to request the addition of support for [Kotlin Serialization](https://github.com/Kotlin/kotlinx.serialization). Since it needs an extra plug-in during compilation, I couldn't see any...

- Use `shadow` to package "fat" jar when using Proguard. - Allow scripts to add specific Proguard configurations via annotations. Requires: https://github.com/holgerbrandl/kscript-annotations/pull/4 This is missing tests and I put this...

The script is working but slow at start when running the container, I'm trying to warm up Kscript by calling it inside image building: > FROM alpine > > RUN...

Hello, I'm trying to pull dependencies from a private repo using kscript 3.0.2. I use the approach specified in the documentation: ``` @file:MavenRepository("acme", "https://nexus.mycompany.com/repository/maven-releases" , user="myuser", password="mypasswrd" ) @file:DependsOn("acme:acme-common:1.1.1") ```...

bug

The following example - autoformatted by intellij does not work using kscript because the `DependsOn` block is not parsed correctly. Tested on latest commit c2d1e4707e3a2ced4418facfe4331a77dbe19e53 ```kotlin #!/usr/bin/env kscript @file:DependsOn( "com.beust:jcommander:1.71",...

enhancement
help wanted

``` [kscript] Resolving dependencies... [kscript] Resolving com.android.tools.ddms:ddmlib:27.1.0...Done [kscript] Resolving com.github.holgerbrandl:kscript-annotations:1.4...Done [kscript] Dependencies resolved Exception in thread "main" java.lang.NoClassDefFoundError: org/jetbrains/kotlin/mainKts/MainKtsScript at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:756) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) at java.net.URLClassLoader.access$100(URLClassLoader.java:74)...

Consider this file `repro.kts`: ```kotlin import Repro.Foo.Bar enum class Foo { Bar } println(Bar) ``` This runs and prints `Bar` -- all is well. Now, add an include directive (file...

Thanks for creating and maintaining this project, it has been great to work with so far! Including [FasterXML/jackson-module-kotlin](https://github.com/FasterXML/jackson-module-kotlin) alongside usage of [JakeWharton/picnic](https://github.com/JakeWharton/picnic) causes the script to throw a non-obvious exception:...

This would give more flexibility to evolve the CLI. See https://github.com/xenomachina/kotlin-argparser

enhancement