From 97c59cdc625b149dcbda3405d934879e76cef542 Mon Sep 17 00:00:00 2001 From: zaaarf Date: Thu, 2 Mar 2023 00:54:36 +0100 Subject: chore: added palantir --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-56-ga3b1