From 8afe2b3398c4e8aad2699041cc3dadfe67ae0672 Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 8 Jun 2016 13:55:32 +0200 Subject: [PATCH] Change updateJSON to point to the version branch --- build.gradle | 7 +++---- src/main/java/ljfa/tntutils/Reference.java | 2 +- src/main/java/ljfa/tntutils/TNTUtils.java | 2 +- version.json | 8 -------- 4 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 version.json diff --git a/build.gradle b/build.gradle index 63a7498..62906ba 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ plugins { apply plugin: 'net.minecraftforge.gradle.forge' -version = "1.2" +version = "1.2.1" group= "ljfa.tntutils" archivesBaseName = "tnt_utilities-mc1.9" @@ -33,12 +33,11 @@ jar { } curseforge { - apiKey = project.curseForgeApiKey + apiKey = project.hasProperty('curseForgeApiKey') ? project.curseForgeApiKey : '' project { id = '227449' changelog = '' - releaseType = 'alpha' - addGameVersion '1.9' + releaseType = 'release' } } diff --git a/src/main/java/ljfa/tntutils/Reference.java b/src/main/java/ljfa/tntutils/Reference.java index 6465adc..71454c2 100644 --- a/src/main/java/ljfa/tntutils/Reference.java +++ b/src/main/java/ljfa/tntutils/Reference.java @@ -7,5 +7,5 @@ public class Reference { public static final String CLIENT_PROXY_CLASS = "ljfa.tntutils.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "ljfa.tntutils.proxy.CommonProxy"; public static final String GUI_FACTORY_CLASS = "ljfa.tntutils.gui.TntuGuiFactory"; - public static final String UPDATE_JSON = "https://raw.githubusercontent.com/ljfa-ag/TNTUtils/master/version.json"; + public static final String UPDATE_JSON = "https://raw.githubusercontent.com/ljfa-ag/TNTUtils/version/version.json"; } diff --git a/src/main/java/ljfa/tntutils/TNTUtils.java b/src/main/java/ljfa/tntutils/TNTUtils.java index 954e1fa..b388371 100644 --- a/src/main/java/ljfa/tntutils/TNTUtils.java +++ b/src/main/java/ljfa/tntutils/TNTUtils.java @@ -15,7 +15,7 @@ @Mod(modid = Reference.MODID, name = Reference.MODNAME, version = Reference.VERSION, acceptableRemoteVersions = "*", guiFactory = Reference.GUI_FACTORY_CLASS, dependencies = "required-after:tnt_utilities_core", - acceptedMinecraftVersions = "[1.9,)", updateJSON = Reference.UPDATE_JSON) + acceptedMinecraftVersions = "[1.9]", updateJSON = Reference.UPDATE_JSON) public class TNTUtils { @Mod.Instance(Reference.MODID) public static TNTUtils instance; diff --git a/version.json b/version.json deleted file mode 100644 index 5f266e9..0000000 --- a/version.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "homepage": "http://www.curse.com/mc-mods/minecraft/227449-tntutils#t1:other-downloads", - "promos": { - "1.8.8-latest": "1.1.1-beta", - "1.8.9-latest": "1.1.3", - "1.9-latest": "1.1.4" - } -}