mirror of
https://github.com/zaaarf/geb.git
synced 2024-11-13 01:59:21 +01:00
fix: use gitversion properly
This commit is contained in:
parent
baf61fb98e
commit
755a8e3a91
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'geb'
|
||||
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||
version = versionDetails().lastTag
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
@ -14,4 +14,4 @@ java {
|
|||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue