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"
|
apply plugin: "com.palantir.git-version"
|
||||||
|
|
||||||
version = gitVersion()
|
version = gitVersion()
|
||||||
group = 'co.fantabos.bscv'
|
group = 'ftbsc'
|
||||||
archivesBaseName = 'boscovicino'
|
archivesBaseName = 'bscv'
|
||||||
|
|
||||||
|
def shortVersion = version.split('-')[0]
|
||||||
|
|
||||||
// Minecraft and Forge versions
|
// Minecraft and Forge versions
|
||||||
def minecraftVersion = '1.16.5'
|
def minecraftVersion = '1.16.5'
|
||||||
|
@ -90,7 +92,7 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
archiveName = "${jar.baseName}.${jar.extension}"
|
archiveName = "${jar.baseName}-${shortVersion}.${jar.extension}"
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
"Specification-Title": "bscv",
|
"Specification-Title": "bscv",
|
||||||
|
|
Loading…
Reference in a new issue