mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-24 23:24:48 +01:00
fix: use gitversion properly
This commit is contained in:
parent
d98eab7e7d
commit
9cc6ed16d3
1 changed files with 2 additions and 6 deletions
|
@ -4,10 +4,10 @@ plugins {
|
|||
}
|
||||
|
||||
archivesBaseName = 'processor'
|
||||
version = gitVersion()
|
||||
version = versionDetails().lastTag
|
||||
|
||||
java {
|
||||
sourceCompatibility = targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||
withSourcesJar()
|
||||
withJavadocJar()
|
||||
}
|
||||
|
@ -23,7 +23,3 @@ dependencies {
|
|||
implementation 'ftbsc:lll:0.5.0'
|
||||
implementation 'ftbsc.lll:mapper:0.3.0'
|
||||
}
|
||||
|
||||
jar {
|
||||
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue