mirror of
https://github.com/zaaarf/geb.git
synced 2024-11-22 08:34:51 +01:00
chore: fixed gitversion mangling
This commit is contained in:
parent
b68b0cb0f6
commit
f97560d028
1 changed files with 2 additions and 6 deletions
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'geb'
|
||||
version = gitVersion()
|
||||
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
@ -15,7 +15,3 @@ java {
|
|||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue