chore: track versions with git
This commit is contained in:
parent
49b057658e
commit
c10c695e90
1 changed files with 4 additions and 1 deletions
|
@ -5,14 +5,16 @@ buildscript {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
|
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
|
||||||
|
classpath "com.palantir.gradle.gitversion:gradle-git-version:0.15.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
apply plugin: 'net.minecraftforge.gradle'
|
apply plugin: 'net.minecraftforge.gradle'
|
||||||
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
apply plugin: "com.palantir.git-version"
|
||||||
|
|
||||||
version = '0.1'
|
version gitVersion()
|
||||||
group = 'co.fantabos.boscovicino' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group = 'co.fantabos.boscovicino' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = 'boscovicino'
|
archivesBaseName = 'boscovicino'
|
||||||
|
|
||||||
|
@ -141,6 +143,7 @@ dependencies {
|
||||||
|
|
||||||
// Example for how to get properties into the manifest for reading by the runtime..
|
// Example for how to get properties into the manifest for reading by the runtime..
|
||||||
jar {
|
jar {
|
||||||
|
archiveName = "${jar.baseName}.${jar.extension}"
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
"Specification-Title": "bscv",
|
"Specification-Title": "bscv",
|
||||||
|
|
Loading…
Reference in a new issue