mirror of
https://github.com/zaaarf/lillero.git
synced 2024-11-12 18:49:23 +01:00
fix: fixed gitversion mangling name
This commit is contained in:
parent
2201a9fe81
commit
1b59c930c2
1 changed files with 3 additions and 4 deletions
|
@ -4,11 +4,10 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'lll'
|
||||
version = gitVersion()
|
||||
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
@ -24,5 +23,5 @@ dependencies {
|
|||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue