summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Harting <539@idlegandalf.com>2016-10-18 19:39:38 +0200
committerGiovanni Harting <539@idlegandalf.com>2016-10-18 19:39:38 +0200
commit4e8222a8844163882c72d2327abd963b2e80a6ce (patch)
treef7c392bbcbc2db8da3d2286f0839166e56a9233d
parentc170c9d21d715e44d2a2536bc9048a4e6336cbe7 (diff)
fixed some versoning stuff
-rw-r--r--build.gradle10
-rw-r--r--src/main/java/com/sosnitzka/taiga/TAIGA.java6
2 files changed, 5 insertions, 11 deletions
diff --git a/build.gradle b/build.gradle
index 458aa12..aa413e0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -63,16 +63,8 @@ version = project.buildInfo.revision
minecraft {
version = "1.10.2-12.18.2.2107"
runDir = "run"
-
- // the mappings can be changed at any time, and must be in the following format.
- // snapshot_YYYYMMDD snapshot are built nightly.
- // stable_# stables are built at the discretion of the MCP team.
- // Use non-default mappings at your own risk. they may not allways work.
- // simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20161015"
- // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
-
- replace "${version}", project.version
+ replace '@VERSION@', project.version
}
//noinspection GroovyAssignabilityCheck
diff --git a/src/main/java/com/sosnitzka/taiga/TAIGA.java b/src/main/java/com/sosnitzka/taiga/TAIGA.java
index c857ac6..7697a3a 100644
--- a/src/main/java/com/sosnitzka/taiga/TAIGA.java
+++ b/src/main/java/com/sosnitzka/taiga/TAIGA.java
@@ -32,11 +32,11 @@ import static com.sosnitzka.taiga.MaterialTraits.*;
import static com.sosnitzka.taiga.TAIGAConfiguration.*;
import static slimeknights.tconstruct.library.utils.HarvestLevels.*;
-@Mod(modid = TAIGA.MODID, version = TAIGA.VERSION, guiFactory = TAIGA.GUIFACTORY, dependencies = "required-after:tconstruct@[1.10-2.3.3,);" + "required-after:mantle@[1.10-0.10.3,)")
+@Mod(modid = TAIGA.MODID, version = TAIGA.VERSION, guiFactory = TAIGA.GUIFACTORY, dependencies = "required-after:tconstruct@[1.10.2-2.5.0,);" + "required-after:mantle@[1.10.2-1.0.0,)")
public class TAIGA {
public static final String MODID = "taiga";
- public static final String VERSION = "${version}";
+ public static final String VERSION = "@VERSION@";
public static final String GUIFACTORY = "com.sosnitzka.taiga.TAIGAGuiFactory";
@SidedProxy(clientSide = "com.sosnitzka.taiga.proxy.ClientProxy", serverSide = "com.sosnitzka.taiga.proxy.CommonProxy")
@@ -48,6 +48,8 @@ public class TAIGA {
public void preInit(FMLPreInitializationEvent e) {
proxy.initConfig();
+ System.out.println(String.format("init from TAIGA Version %s", VERSION));
+
Items.register(); // Registers items and its oreDict
Blocks.register(); // Registers blocks and its items form a long with its oreDict
Fluids.register(); // Registers all fluids and its buckets