Foundation to build Spigot (Minecraft) plugins using Kotlin and Gradle
This is a basic codebase for a Spigot plugin written in Kotlin and built using Gradle.
Clone this repo, and then change the following files to match your new package name:
src/main/java/me/duncanleo/spigot_plugin_base/
(rename the directory)src/main/java/me/duncanleo/spigot_plugin_base/App.kt
(change the package name in line 1)src/resources/plugin.yml
(There is a main
field)build.gradle.kts
java
pluginsrc/main/java/
plugin.yml
) under src/main/resources
To build a JAR file for use with Spigot, run gradle shadowJar
. The completed file will be in build/libs
.