laht
02/01/2021, 1:36 PMkotlin-script-examples
jvm-embeddable-host
. Why is that? The latter is able to resolve dependencies fully, whereas main.kts does not (even with runtime option). E.g. lwjgl3 (opengl) will fail during runtime with main.kts, but not using the jvm-embeddable-hostmbonnin
02/01/2021, 3:31 PMlaht
02/01/2021, 4:18 PMlaht
02/01/2021, 4:19 PMlaht
02/01/2021, 5:03 PMorg.apache.ivy
vs org.apache.maven
, by looking at the source. It's just weird that the demo code uses a seemingly better resolution strategy than the code that ships with the IDE. As a result I can't use `main.kts`directly. options = arrayOf("scope=compile,runtime")
does not work either. It works to some degree, but I wonder if it cannot handle runtime dependencies of other runtime dependencies.ilya.chernikov
02/08/2021, 8:56 PMscripting-dependencies-maven
module is based on it. It has more features and is recommended if you're building your own scripts. But we still haven't found enough time/motivation to port main.kts to it.