build: include version (trimmed) in build output
This commit is contained in:
parent
6e2fec7970
commit
93838f17ee
1 changed files with 5 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue