fix: use gitversion properly

This commit is contained in:
zaaarf 2024-05-11 15:04:13 +02:00
parent c2b7e4aa5a
commit 3c1b812d8d
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -4,7 +4,7 @@ plugins {
}
archivesBaseName = 'loader'
version = gitVersion().split('-').getAt(0).replace('dirty', '')
version = versionDetails().lastTag
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8