build: include version (trimmed) in build output

This commit is contained in:
əlemi 2023-02-07 02:36:47 +01:00
parent 6e2fec7970
commit 93838f17ee
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -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",