diff options
| author | Giovanni Harting <539@idlegandalf.com> | 2016-07-21 18:12:54 +0200 |
|---|---|---|
| committer | Giovanni Harting <539@idlegandalf.com> | 2016-07-21 18:12:54 +0200 |
| commit | 00e5ca976f2f844851f29ce3f3dd282136a7869a (patch) | |
| tree | 89bb1a2aac3846844b0724e3af5d2554e17a654b | |
| parent | fa777ca6e0353ce39c3f158081d6c08156d4727d (diff) | |
fixed some derps 2/x
| -rw-r--r-- | build.gradle | 10 |
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 { |
