fix: fix gitversion mangling name

This commit is contained in:
zaaarf 2023-09-08 21:21:05 +02:00
parent b8cbf60f66
commit bc21353dec
No known key found for this signature in database
GPG key ID: 6445A5CD15E5B40C

View file

@ -5,7 +5,7 @@ plugins {
}
archivesBaseName = 'mapping-writer'
version = gitVersion()
version = gitVersion().split('-').getAt(0).replace('dirty', '')
java {
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
@ -26,7 +26,6 @@ dependencies {
}
jar {
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
manifest {
attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
}