diff options
author | zaaarf <zaaarf@proton.me> | 2023-03-02 00:57:56 +0100 |
---|---|---|
committer | zaaarf <zaaarf@proton.me> | 2023-03-02 00:57:56 +0100 |
commit | 5f3a57d7982b95ecc73362e1daa2d688f36a182e (patch) | |
tree | dc9711f7d068ee0f1078d56df14cadfefa0a0858 /build.gradle | |
parent | ef1e358a40e05688d2edca54cb83240b4877009b (diff) |
chore: added gitversion0.1.3
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index e00f3f1..3fe25d6 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,11 @@ plugins { id 'java-library' + id 'com.palantir.git-version' version '0.13.0' } +archivesBaseName = 'loader' +version = gitVersion() + java.toolchain.languageVersion = JavaLanguageVersion.of(8) repositories { @@ -18,3 +22,6 @@ dependencies { implementation 'ftbsc:lll:0.3.0' } +jar { + archiveFileName = "${jar.archiveBaseName.get()}-${project.version.split('-')[0]}.${jar.archiveExtension.get()}" +} |