From d423d06f2ef53b8eb48dba3477e6a22db84913e0 Mon Sep 17 00:00:00 2001 From: Vasco Lavos Date: Tue, 6 Sep 2016 00:52:04 +0100 Subject: [PATCH] Remove remnants of willie's updater thing --- build.gradle | 14 -------------- version/update.json | 44 -------------------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 version/update.json diff --git a/build.gradle b/build.gradle index f72ab4437..2a8899ae0 100644 --- a/build.gradle +++ b/build.gradle @@ -120,20 +120,6 @@ task incrementBuildNumber(dependsOn: 'reobfJar') << { file('web/versions.ini').append("\n${version}=${minecraft.version}") file("${config.dir_repo}/version/${minecraft.version}.txt").write("${version}") - - def updateJsonFile = file('version/update.json') - def updateJson = new JsonSlurper().parse(updateJsonFile) as Map - - // todo detect if the mcversion is absent - - // Add to version section - updateJson."${minecraft.version}"."${version}" = "See https://github.com/williewillus/Botania/releases/${version}" - - // Update promos - updateJson.promos."${minecraft.version}-latest" = "${version}" - updateJson.promos."${minecraft.version}-recommended" = "${version}" - - updateJsonFile.write(JsonOutput.prettyPrint(JsonOutput.toJson(updateJson))) } // I have no idea what I'm doing diff --git a/version/update.json b/version/update.json deleted file mode 100644 index 278af76b7..000000000 --- a/version/update.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "1.10": { - "r1.8-311": "See https://github.com/williewillus/Botania/releases/r1.8-311" - }, - "1.10.2": { - "r1.8-312": "See https://github.com/williewillus/Botania/releases/r1.8-312", - "r1.8-313": "See https://github.com/williewillus/Botania/releases/r1.8-313", - "r1.8-314": "See https://github.com/williewillus/Botania/releases/r1.8-314", - "r1.8-315": "See https://github.com/williewillus/Botania/releases/r1.8-315", - "r1.8-316": "See https://github.com/williewillus/Botania/releases/r1.8-316", - "r1.8-317": "See https://github.com/williewillus/Botania/releases/r1.8-317", - "r1.8-318": "See https://github.com/williewillus/Botania/releases/r1.8-318", - "r1.8-319": "See https://github.com/williewillus/Botania/releases/r1.8-319", - "r1.8-320": "See https://github.com/williewillus/Botania/releases/r1.8-320" - }, - "1.9": { - "r1.8-301": "See https://github.com/williewillus/Botania/releases/r1.8-301", - "r1.8-302": "See https://github.com/williewillus/Botania/releases/r1.8-302", - "r1.8-303": "See https://github.com/williewillus/Botania/releases/r1.8-303", - "r1.8-304": "See https://github.com/williewillus/Botania/releases/r1.8-304", - "r1.8-305": "See https://github.com/williewillus/Botania/releases/r1.8-305" - }, - "1.9.4": { - "r1.8-306": "See https://github.com/williewillus/Botania/releases/r1.8-306", - "r1.8-307": "See https://github.com/williewillus/Botania/releases/r1.8-307", - "r1.8-308": "See https://github.com/williewillus/Botania/releases/r1.8-308", - "r1.8-309": "See https://github.com/williewillus/Botania/releases/r1.8-309", - "r1.8-310": "See https://github.com/williewillus/Botania/releases/r1.8-310", - "r1.8-311": "See https://github.com/williewillus/Botania/releases/r1.8-311", - "r1.8-312": "See https://github.com/williewillus/Botania/releases/r1.8-312", - "r1.8-313": "See https://github.com/williewillus/Botania/releases/r1.8-313" - }, - "homepage": "https://minecraft.curseforge.com/projects/botania-unofficial", - "promos": { - "1.10-latest": "r1.8-311", - "1.10-recommended": "r1.8-311", - "1.10.2-latest": "r1.8-320", - "1.10.2-recommended": "r1.8-320", - "1.9-latest": "r1.8-305", - "1.9-recommended": "r1.8-305", - "1.9.4-latest": "r1.8-313", - "1.9.4-recommended": "r1.8-313" - } -} \ No newline at end of file