chore: added palantir

This commit is contained in:
zaaarf 2023-03-02 00:54:36 +01:00
parent 652a5103c6
commit 97c59cdc62
No known key found for this signature in database
GPG key ID: 82240E075E31FA4C

View file

@ -1,8 +1,10 @@
plugins { plugins {
id 'java' id 'java'
id 'com.palantir.git-version' version '0.13.0'
} }
group 'ftbsc.lll.processor' archivesBaseName = 'processor'
version = gitVersion()
java.toolchain.languageVersion = JavaLanguageVersion.of(8) java.toolchain.languageVersion = JavaLanguageVersion.of(8)
@ -16,3 +18,7 @@ dependencies {
implementation 'com.squareup:javapoet:1.13.0' implementation 'com.squareup:javapoet:1.13.0'
implementation 'ftbsc:lll:0.3.0' implementation 'ftbsc:lll:0.3.0'
} }
jar {
archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
}