John Vandenberg
John Vandenberg
The same occurs for https://mvnrepository.com/artifact/com.pinterest.ktlint/ktlint-cli , because again `ktlint-cli-*.jar` matches other files, in my case `ktlint-cli-reporter-sarif-1.1.0.jar`
I believe it can be configured using env var `JGO_CACHE_DIR`
fwiw, I also have the same problem with https://github.com/kscripting/kscript ``` $ jgo --additional-endpoints commons-cli:commons-cli org.jetbrains.kotlin:kotlin-scripting-jvm org.jetbrains.kotlin:kotlin-stdlib io.github.kscripting:shell io.github.kscripting:kscript:io.github.kscripting.kscript.KscriptKt linux Foo.kt [kscript] [ERROR] KOTLIN_HOME is not set and could not be...
Quite interestingly, using `kotlin-compiler-embeddable` also fails ``` > jgo --additional-endpoints org.jetbrains.kotlin:kotlin-stdlib org.jetbrains.kotlin:kotlin-compiler-embeddable:org.jetbrains.kotlin.cli.jvm.K2JVMCompiler path/to/script.kt warning: unable to find kotlin-stdlib.jar in the Kotlin home directory. Pass either '-no-stdlib' to prevent adding it...
kscript now works with `KOTLIN_HOME` set ``` jgo --additional-endpoints commons-cli:commons-cli commons-codec:commons-codec io.github.kscripting:shell io.github.kscripting:kscript:io.github.kscripting.kscript.KscriptKt linux tests/expected/print.kt ``` otherwise the error is > [kscript] [ERROR] KOTLIN_HOME is not set and could not...
ping @ctrueden . I would like to see this merged as py2many currently depends on it for its Kotlin support. c.f. https://github.com/py2many/py2many/blob/main/tox.ini#L31 I would like to do a release soon...
Ping @jruizgit
Created https://github.com/rustsec/advisory-db/pull/2462
It appears there is a subcommand `version`. I believe `--version` is the expected way to get the version. See https://github.com/taiki-e/install-action/issues/577
Very likely the binary is linked to glibc , and that lib is not installed on the base alpine image