mirror of
https://github.com/zaaarf/lillero-mapping-writer.git
synced 2024-11-25 07:54:49 +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'
|
archivesBaseName = 'mapping-writer'
|
||||||
version = gitVersion()
|
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
@ -26,7 +26,6 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
|
attributes 'Main-Class': 'ftbsc.lll.mapper.writer.MappingWriter'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue