summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-02 00:54:36 +0100
committer zaaarf <zaaarf@proton.me>2023-03-02 00:54:36 +0100
commit97c59cdc625b149dcbda3405d934879e76cef542 (patch)
tree3acf20b80fa6567b8e098cd05d1726ae5c039186 /build.gradle
parent652a5103c6b30bc4d491e69214152a0abecca037 (diff)
chore: added palantir0.2.0
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 593d5fc..cc851fe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,8 +1,10 @@
plugins {
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)
@@ -16,3 +18,7 @@ dependencies {
implementation 'com.squareup:javapoet:1.13.0'
implementation 'ftbsc:lll:0.3.0'
}
+
+jar {
+ archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}"
+} \ No newline at end of file