mirror of
https://github.com/zaaarf/geb.git
synced 2024-11-13 02:09:22 +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
|
||||
|
@ -14,8 +14,4 @@ java {
|
|||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue