mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-24 16:34:53 +01:00
fix: fixed gitversion mangling name
This commit is contained in:
parent
2b1bf9eac4
commit
0d097dcb2e
1 changed files with 3 additions and 4 deletions
|
@ -4,11 +4,10 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
archivesBaseName = 'processor'
|
archivesBaseName = 'processor'
|
||||||
version = gitVersion()
|
version = gitVersion().split('-').getAt(0).replace('dirty', '')
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
}
|
}
|
||||||
|
@ -25,5 +24,5 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
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