From f97560d028496e09ada3117360a8b53ccae3a9d8 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Sat, 9 Sep 2023 00:23:36 +0200 Subject: [PATCH] chore: fixed gitversion mangling --- build.gradle | 8 ++------ 1 file 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