Bryan Buschmann
10/10/2023, 2:57 PMUnable to get script compilation classpath from context, please specify explicit classpath via "kotlin.script.classpath" property
error) or I try to clone the kotlin-script-examples
project and I can't select any of the host.kt
files for usage in a run configuration, and if I manually type the path in I get error: unrecognized script type: host.kt; Specify path to the script file as the first argument
jvm
block inside the ScriptCompilationConfiguration
was the core issue, needed to ensure that the script definition module name and the entry in dependenciesFromCurrentContext
matched.