This is a discussion topic for the Ore project, KrunTime. View the full project on Ore for downloads and more information.
KrunTime
This is a fork of Spotlin intended to provide support for api8+
A Sponge plugin providing the Kotlin runtime, standard library,
and reflection library to other plugins.
Note: The plugin in itself does not provide anything other than the Kotlin Runtime libraries. For it to be actually useful, plugin developers need to depend on this plugin. If no plugin depends on this, you can safely remove the plugin.
Depending on KrunTime - Build System
Follow the instructions below to depend on kotlin.
Depending on KrunTime - SpongeGradle
In order to make sure your plugin both requires and loads after KrunTime, add this to your SpongeGradle configuration
dependency("kruntime") {
version("0.4.0")
loadOrder(PluginDependency.LoadOrder.AFTER)
optional(false)
}
Depending on KrunTime - sponge_plugins.json
"dependencies": [
{
...
},
{
"id": "kruntime",
"version": "0.4.0",
"load-order": "after",
"optional": false
}
]