mirror of
https://github.com/zaaarf/lillero-mapper.git
synced 2024-11-14 00:59:19 +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
11
build.gradle
11
build.gradle
|
@ -4,11 +4,10 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'mapper'
|
||||
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()
|
||||
}
|
||||
|
@ -22,8 +21,4 @@ dependencies {
|
|||
implementation 'ftbsc:lll:0.4.2'
|
||||
implementation 'com.google.auto.service:auto-service-annotations: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