chore: fixed gitversion mangling

This commit is contained in:
zaaarf 2023-09-09 00:23:36 +02:00
parent b68b0cb0f6
commit f97560d028
No known key found for this signature in database
GPG key ID: 6445A5CD15E5B40C

View file

@ -4,7 +4,7 @@ plugins {
} }
archivesBaseName = 'geb' archivesBaseName = 'geb'
version = gitVersion() version = gitVersion().split('-').getAt(0).replace('dirty', '')
java { java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@ -14,8 +14,4 @@ java {
repositories { repositories {
mavenCentral() mavenCentral()
} }
jar {
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
}