- Change
io.papermc.paper:paper-api's version inbuild.gradle -
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
- Build desired bukkit version by running
java -jar BuildTools.jar --rev <VERSION> - From
spigot-_.__._.jarextract and move to$PROJECS/.idea/libraries/following files:META-INF/versions/spigot-_.__._-R0.1-SNAPSHOT.jarMETA-INF/libraries/authlib-_._.__.jar
- Update respective names in
build.gradle - Go through the code and update errors due to version changes.
- Go to
Run -> Edit Configurations... - In
Runadd parameter:jar - Run the project
$PROJECT/build/libs/should contain a jar file of the plugin
./gradlew build :jar