Skip to content

Compile the project

Christian Koop edited this page Dec 10, 2021 · 3 revisions

I use GitHub Actions to automatically compile this project. Following all the steps GitHub Actions goes through, ensures that you are able to compile the plugin yourself.

You can find the script here: GitHub Actions Build (Take a look at the job build)

Basic requirements

I recommend looking into the commands run by GitHub Action as they are more detailed and should mostly be self-explaining.

You'll need Maven and the Java Development Kit (JDK 17 or newer).

Additionally, you need to run Spigot BuildTools (as described here) for all the Spigot versions, that BetterChairs natively supports.

if everything has been prepared, you can run mvn clean package inside the project root directory.

The resulting file should be located at ./modules/betterchairs-plugin/target/BetterChairs.jar.

Clone this wiki locally