summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-05-11 15:07:03 +0200
committer zaaarf <me@zaaarf.foo>2024-05-11 15:07:03 +0200
commit7c556696e12848fd9820e95653ab93ca0b0c0c67 (patch)
treebb51d15a212788762991bb8af25ea7ded496f60e /build.gradle
parenta6aa21a9857594ce1f94b7d200877a96b345b99b (diff)
fix: use gitversion properly
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 3fa75da..8e1d8ca 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
archivesBaseName = 'mixin'
-version = gitVersion().split('-').getAt(0).replace('dirty', '')
+version = versionDetails().lastTag
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8