Fail hard if versions/core/mcVersion is missing

This commit is contained in:
Jonas Herzig
2019-05-10 14:06:40 +02:00
parent 5f37ba48ff
commit 7f7d33def8
5 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ buildscript {
mcVersion = "${major}${minor.padLeft(2, '0')}${(patch ?: '').padLeft(2, '0')}" as int
} else {
def f = file('mcVersion')
mcVersion = f.exists() ? f.readLines().first() as int : 11302
mcVersion = f.readLines().first() as int
}
project.ext.mcVersion = mcVersion
-1
View File
@@ -1 +0,0 @@
mcVersion
+1
View File
@@ -0,0 +1 @@
11302