aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemidev <me@alemi.dev>2023-01-31 23:02:27 +0100
committer alemidev <me@alemi.dev>2023-01-31 23:02:27 +0100
commitc10c695e90f8f5d33c3d8ea33be90a3d92d280bf (patch)
tree5537ee2836934b66d8fddf79d18910cc5888950a
parent49b057658e534dc358395e952114880c1129a9ae (diff)
chore: track versions with git0.2.0
-rw-r--r--build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 0b845ce..076ad3f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,14 +5,16 @@ buildscript {
}
dependencies {
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'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
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
archivesBaseName = 'boscovicino'
@@ -141,6 +143,7 @@ dependencies {
// Example for how to get properties into the manifest for reading by the runtime..
jar {
+ archiveName = "${jar.baseName}.${jar.extension}"
manifest {
attributes([
"Specification-Title": "bscv",