mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-22 21:04:49 +01:00
fix: fix gitversion mangling name
This commit is contained in:
parent
2f50657733
commit
9c4167821a
1 changed files with 3 additions and 8 deletions
|
@ -4,11 +4,10 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
archivesBaseName = 'mapper'
|
archivesBaseName = 'mapper'
|
||||||
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()
|
||||||
}
|
}
|
||||||
|
@ -23,7 +22,3 @@ dependencies {
|
||||||
implementation 'com.google.auto.service:auto-service-annotations:1.1.0'
|
implementation 'com.google.auto.service:auto-service-annotations:1.1.0'
|
||||||
annotationProcessor 'com.google.auto.service:auto-service:1.1.0'
|
annotationProcessor 'com.google.auto.service:auto-service:1.1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
|
||||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue