diff --git a/build.gradle b/build.gradle index df0ab7a..693836e 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ buildscript { dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' classpath 'gradle.plugin.com.matthewprenger:CurseGradle:1.0.9' - classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5' + classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1' } } @@ -72,7 +72,7 @@ minecraft { version = '1.11.2-13.20.1.2386' runDir = 'run' mappings = 'stable_32' - // coreMod = "" +// coreMod = '' makeObfSourceJar = false replace '@FINGERPRINT@', project.findProperty('signSHA1') @@ -254,7 +254,7 @@ curseforge { project { id = "245586" changelog = file("CHANGELOG.txt") - releaseType = "alpha" + releaseType = "release" def projName = "OreSpawn" def displayVersion = getVersion("VERSION", mod_file) if (System.getenv().BUILD_NUMBER) { diff --git a/src/main/java/com/mcmoddev/orespawn/OreSpawn.java b/src/main/java/com/mcmoddev/orespawn/OreSpawn.java index 74d75a7..b869580 100644 --- a/src/main/java/com/mcmoddev/orespawn/OreSpawn.java +++ b/src/main/java/com/mcmoddev/orespawn/OreSpawn.java @@ -22,7 +22,6 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; - import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; diff --git a/src/main/java/com/mcmoddev/orespawn/data/Config.java b/src/main/java/com/mcmoddev/orespawn/data/Config.java index 41f2d85..2816d03 100644 --- a/src/main/java/com/mcmoddev/orespawn/data/Config.java +++ b/src/main/java/com/mcmoddev/orespawn/data/Config.java @@ -133,8 +133,8 @@ private static void saveKnownConfigs() { File in = p.toFile(); JsonArray data = new JsonArray(); - - extractedConfigs.forEach( val -> data.add( new JsonPrimitive(val) ) ); + + extractedConfigs.forEach( val -> data.add(new JsonPrimitive(val))); try { FileUtils.writeStringToFile(in, gson.toJson(data), Charset.defaultCharset()); diff --git a/src/main/java/com/mcmoddev/orespawn/data/Constants.java b/src/main/java/com/mcmoddev/orespawn/data/Constants.java index cd58023..e111140 100644 --- a/src/main/java/com/mcmoddev/orespawn/data/Constants.java +++ b/src/main/java/com/mcmoddev/orespawn/data/Constants.java @@ -3,7 +3,7 @@ public class Constants { public static final String MODID = "orespawn"; public static final String NAME = "MMD OreSpawn"; - public static final String VERSION = "3.2.0"; + public static final String VERSION = "3.2.1"; public static final String RETROGEN_KEY = "Retrogen"; public static final String CONFIG_FILE = "config/orespawn.cfg"; public static final String FORCE_RETROGEN_KEY = "Force Retrogen";