Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The plugin loads without error, though it's largely untested. Will leave as WIP in the title until some testing can be done.
A few other things to consider:
the size of the shadowed jar is a bit larger with the kotlin standard lib included, though this can be minimized by adding a task that excludes the kotlin libraries (which would mean the standard lib would need to be on the classpath)Updated to use the 1.17+libraries
plugin feature: https://www.spigotmc.org/wiki/plugin-yml/#optional-attributesthe plugin's configuration is mostly still todo... I didn't want to convert the existingRemoved old configuration, loads into a kotlin data classConfigObject
class to Kotlin considering the reflection used and it really needs to be replaced insteadjava-library
plugin instead ofjava
, but that's been replaced with thekotlin
plugin. Let me know if that was erroneous