Build the Fabrica plugin and deploy it to the Hytale mods folder.
Steps
- •
Ask user for version bump type using AskUserQuestion:
- •Question: "What type of version bump?"
- •Options: "Patch" (0.0.X), "Minor" (0.X.0), "Major" (X.0.0)
- •
Read current version from
gradle.properties(theversion=X.Y.Zline) - •
Increment version based on user choice:
- •Patch: increment Z (e.g., 0.0.2 → 0.0.3)
- •Minor: increment Y, reset Z to 0 (e.g., 0.0.2 → 0.1.0)
- •Major: increment X, reset Y and Z to 0 (e.g., 0.0.2 → 1.0.0)
- •
Update gradle.properties with the new version
- •
Run
./gradlew buildto build the plugin - •
Find the base JAR file (not -javadoc or -sources) in
build/libs/ - •
Copy it to
/mnt/c/Users/femia/AppData/Roaming/Hytale/UserData/Mods/ - •
Remove the old version JAR from the mods folder (e.g., delete
Fabrica-0.0.2.jarwhen deployingFabrica-0.0.3.jar) - •
Report success with:
- •Previous version → New version
- •Deployed filename
- •Deployment location