Provides the Kotlin runtime for other plugins.
2

Spotlin

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.

License

Licensed under the MIT License.

Depending on Spotlin - Build System

Follow the instructions below to depend on kotlin.

Depending on Spotlin - Plugin Manifest

In order to make sure your plugin both requires and loads after Spotlin, add this to your @Plugin annotation:

@[Plugin(dependencies = arrayOf(Dependency(id = "spotlin", 
                                           optional = false, 
                                           version = "0.1.3")))]
class PluginClass

If you do not have the kapt plugin enabled, you will also need to add this to your mcmod.info file:

{
    "requiredMods": [
        "[email protected]"
    ]
}

Category: Developer Tools

Published on Jul 22, 2017

2801 views

2 stars

watchers

177 total downloads

Licensed under MIT

Promoted Versions

Pages

Members