summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorGiovanni Harting <539@idlegandalf.com>2016-07-21 18:12:54 +0200
committerGiovanni Harting <539@idlegandalf.com>2016-07-21 18:12:54 +0200
commit00e5ca976f2f844851f29ce3f3dd282136a7869a (patch)
tree89bb1a2aac3846844b0724e3af5d2554e17a654b /build.gradle
parentfa777ca6e0353ce39c3f158081d6c08156d4727d (diff)
fixed some derps 2/x
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files 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 {