Building from Source
To build PetarLib from source, follow these steps:
- Ensure you have Java 21+ and Git installed.
- Clone the repository:
git clone https://github.com/PetarMc1/PetarLib-Bukkit.git
cd PetarLib - Build using Gradle:
./gradlew build - The built plugin will be in
build/libs/.
Jenkins Builds
If you prefer not to build from source but you want build for the current commit you can download pre-built jars for each commit from the CI server.
- Visit the PetarLib Jenkins page.
- Download the jar files from the latest (or the build you want from) artifacts.
- Use these jars directly in your mods folder, similar to the installation instructions.