mirror of
https://github.com/zaaarf/lillero-mapping-writer.git
synced 2024-11-14 05:29:22 +01:00
fix: fix gitversion mangling name
This commit is contained in:
parent
b8cbf60f66
commit
bc21353dec
1 changed files with 1 additions and 2 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue