-
Notifications
You must be signed in to change notification settings - Fork 1
Building From Source
Sauron_Dev edited this page May 4, 2026
·
1 revision
VortexRPG is open source and uses Gradle Kotlin DSL with Java 21.
- Java 21 JDK
- Git
- The included Gradle wrapper
git clone https://github.com/Sauron05/vortexrpg.git
cd vortexrpg.\gradlew.bat build./gradlew build| Task | Purpose |
|---|---|
test |
Runs the JUnit test suite |
compileJava |
Compiles main plugin sources |
shadowJar |
Builds the Paper/Folia shaded jar |
spigotJar |
Builds the dedicated Spigot jar |
sourcesJar |
Builds the source jar |
build |
Runs verification and copies release jars |
Release-ready jars are copied into the root jar/ folder:
jar/VortexRPG-1.2.2-alpha-paper-folia.jar
jar/VortexRPG-1.2.2-alpha-spigot.jar
jar/VortexRPG-1.2.2-alpha-sources.jar
- Java 21 toolchain
- Gradle Kotlin DSL
- JUnit 5 tests
- Paper/Folia main build
- Dedicated Spigot jar task
- Shaded runtime libraries including bStats, Jackson, and Caffeine
Before shipping a jar, run:
.\gradlew.bat buildA successful release build should end with BUILD SUCCESSFUL and regenerate the jars in jar/.