When I try to run a script in the context of main....
# scripting
l
When I try to run a script in the context of main.kts using IntelliJ context I get a headless exception when trying to initialize a OpenGL context. This does not happen when I run the same code through a ScriptEngineManager context. What gives?
That is, when I run it through the ScriptEngineManager I manually download all transitive maven deps. Could it be a dependecy issue?
Ok, pretty sure it's a transitive issue. This was going to be resolved in kotlin 1.4.20 right? That is, supporting runtime dependencies in main.kts?