From 00e5ca976f2f844851f29ce3f3dd282136a7869a Mon Sep 17 00:00:00 2001 From: Giovanni Harting <539@idlegandalf.com> Date: Thu, 21 Jul 2016 18:12:54 +0200 Subject: [PATCH] fixed some derps 2/x --- build.gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index c3c0e4a..7cd61c8 100644 --- a/build.gradle +++ b/build.gradle @@ -36,6 +36,11 @@ repositories { group = "com.sosnitzka" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "taiga" +ext { + tag = "snapshot" + changes = "" +} + minecraft { version = "1.10.2-12.18.1.2011" runDir = "run" @@ -89,13 +94,10 @@ task buildInfo { proc_changes.waitFor() if (proc_changes.exitValue() == 0) { project.ext.changes = proc_changes.text.trim() - } else { - project.ext.changes = "" } - } -version = project.ext.tag ? "${mc_version}-${project.ext.tag}" : "${mc_version}-snapshot" +version = "${mc_version}-${ext.tag}" //noinspection GroovyAssignabilityCheck processResources {