From 726b178a53f1e8a94c362acde3fd5ebf75ec8e43 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Sat, 26 Sep 2026 23:53:38 -0700 Subject: [PATCH] Adopt Git-sensitive semantic versioning --- TODO.md | 2 +- build.gradle | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index 424bcda..72091a3 100644 --- a/TODO.md +++ b/TODO.md @@ -21,7 +21,7 @@ | MET-017 | Done | Add a separate Gradle `integrationTest` source set/task for tests requiring an actual Paper server and compatible WorldGuard/WorldEdit plugins. Verify plugin loading, command registration and dispatch, region-backed reservations and home allocation, and persistence across a server restart. Run it only when explicitly requested; keep it out of the normal `test` and `build` tasks. | | MET-018 | Done | Build the plugin with Gradle and use the provided server scripts to smoke-test it on modern Paper with its required plugins installed. | | MET-019 | Done | Address bugs and incompatibilities found by unit tests, integration tests, or modern Paper server testing. | -| MET-020 | Ready | Adopt the git-sensitive semantic versioning Gradle plugin used by MobScores and ScoreKeeper, using the existing 0.5-SNAPSHOT version as the migration baseline; verify version/tag behavior and enable the Gradle configuration cache when compatible. | +| MET-020 | Done | Adopt the git-sensitive semantic versioning Gradle plugin used by MobScores and ScoreKeeper, using the existing 0.5-SNAPSHOT version as the migration baseline; verify version/tag behavior and enable the Gradle configuration cache when compatible. | | MET-021 | Ready | Update README.md, CONTRIBUTING.md, other documentation, and project scripts with the Gradle build, test, versioning, and modern Paper server workflow. | | MET-022 | Planning | (Optional) Add new features, quality-of-life improvements, or CI configuration after the modernization and documentation tasks are complete. | | GIT-009 | Planning | i have three reserve plots and one just got overwritten when a new player joined. | diff --git a/build.gradle b/build.gradle index ea9fda0..1e1bafe 100644 --- a/build.gradle +++ b/build.gradle @@ -1,11 +1,16 @@ plugins { id 'java-library' id 'maven-publish' + id 'org.danilopianini.git-sensitive-semantic-versioning' version '7.0.24' } group = 'com.majinnaibu.bukkitplugins' description = 'Metropolis' -version = '0.5-SNAPSHOT' + +gitSemVer { + minimumVersion.set('0.5.0') + versionPrefix.set('') +} repositories { mavenCentral()