https://kotlinlang.org logo
#scripting
Title
# scripting
l

Laxystem

11/05/2023, 3:33 PM
Question -- will KotlinScript for non-jvm platforms come any time soon? Or at least the
kotlin-scripting-common
package? I am currently developing a gradle plugin that copies scripts found in a source set's resources, and compiles them as if they were normal code for non-jvm platforms (that way, I have both the flexibility of KTS on the jvm, and support for other platforms)
Following up on this, semi-related - can KTS compile to non-jvm targets when using the JVM library? I couldn't find anything in the code itself, and documentation is pretty much non-existent. My use case for that is using a gradle plugin to compile Kotlin script into the normal source set for non-jvm platforms (as I mentioned above)
i

ilya.chernikov

11/14/2023, 7:52 AM
Currently, scripting for non-JVM platforms is not a priority for us. We may come back to this topic in the future, but it doesn't look like it will happen soon.
l

Laxystem

11/14/2023, 12:24 PM
Alright.