diff options
author | alemidev <me@alemi.dev> | 2023-02-07 02:36:47 +0100 |
---|---|---|
committer | alemidev <me@alemi.dev> | 2023-02-07 02:36:47 +0100 |
commit | 93838f17eecacdd09aedf724758e7e22795aeca2 (patch) | |
tree | 800bbfff24be41e520fe2bf637767b58208f9306 | |
parent | 6e2fec79700663001977b81584de569701cb8778 (diff) |
build: include version (trimmed) in build output
-rw-r--r-- | build.gradle | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 822c884..7df69e1 100644 --- a/build.gradle +++ b/build.gradle @@ -19,8 +19,10 @@ apply plugin: 'maven-publish' apply plugin: "com.palantir.git-version" version = gitVersion() -group = 'co.fantabos.bscv' -archivesBaseName = 'boscovicino' +group = 'ftbsc' +archivesBaseName = 'bscv' + +def shortVersion = version.split('-')[0] // Minecraft and Forge versions def minecraftVersion = '1.16.5' @@ -90,7 +92,7 @@ dependencies { } jar { - archiveName = "${jar.baseName}.${jar.extension}" + archiveName = "${jar.baseName}-${shortVersion}.${jar.extension}" manifest { attributes([ "Specification-Title": "bscv", |