summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-06-01 01:42:08 +0200
committer zaaarf <me@zaaarf.foo>2024-06-01 01:42:22 +0200
commit755a8e3a91153c865e95c3753318bd60bab49270 (patch)
tree83cfa029b54af86abe2ebce7e8f1bc82b9fa5e60
parentbaf61fb98ec190e5aaeea6d344749ac50a9e4079 (diff)
fix: use gitversion properly0.3.0
-rw-r--r--build.gradle4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 9e868cb..e2610ab 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
archivesBaseName = 'geb'
-version = gitVersion().split('-').getAt(0).replace('dirty', '')
+version = versionDetails().lastTag
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@@ -14,4 +14,4 @@ java {
repositories {
mavenCentral()
-} \ No newline at end of file
+}