mirror of
https://github.com/zaaarf/lillero-processor.git
synced 2024-11-22 09:04:52 +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'
|
archivesBaseName = 'processor'
|
||||||
version = gitVersion()
|
version = versionDetails().lastTag
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = targetCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
withSourcesJar()
|
withSourcesJar()
|
||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,3 @@ dependencies {
|
||||||
implementation 'ftbsc:lll:0.5.0'
|
implementation 'ftbsc:lll:0.5.0'
|
||||||
implementation 'ftbsc.lll:mapper:0.3.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