summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-09 00:23:36 +0200
committer zaaarf <zaaarf@proton.me>2023-09-09 00:23:36 +0200
commitf97560d028496e09ada3117360a8b53ccae3a9d8 (patch)
treecfd5f361d05c346e1bcde91f5cb22a70c1f7f6ce
parentb68b0cb0f6468d9b085338d271ab6d1e6dbff3d8 (diff)
chore: fixed gitversion mangling
-rw-r--r--build.gradle8
1 files changed, 2 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index a9808ff..9e868cb 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ plugins {
}
archivesBaseName = 'geb'
-version = gitVersion()
+version = gitVersion().split('-').getAt(0).replace('dirty', '')
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@@ -14,8 +14,4 @@ java {
repositories {
mavenCentral()
-}
-
-jar {
- archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
-}
+} \ No newline at end of file