fix: use gitversion properly

This commit is contained in:
zaaarf 2024-06-01 01:42:08 +02:00
parent baf61fb98e
commit 755a8e3a91
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -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()
}
}