From c2f2259d821f0fc34f1158419496effa88ad70a3 Mon Sep 17 00:00:00 2001 From: LemADEC Date: Sat, 8 Aug 2015 15:46:59 +0200 Subject: [PATCH] Bumped to version 1.3.1 --- build.gradle | 8 ++++++-- src/main/java/cr0s/warpdrive/WarpDrive.java | 2 +- src/main/resources/mcmod.info | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index eb38d179..970ea0cd 100644 --- a/build.gradle +++ b/build.gradle @@ -17,13 +17,17 @@ buildscript { apply plugin: 'forge' -version = "1.3.0" -group= "cr0s.warpdrive" // http://maven.apache.org/guides/mini/guide-naming-conventions.html +version = "1.3.1" +group = "cr0s.warpdrive" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "warpdrive" minecraft { version = "1.7.10-10.13.4.1492-1.7.10" runDir = "eclipse" + + // replacing + replace "@version@", project.version + replaceIn "WarpDrive.java" } dependencies { diff --git a/src/main/java/cr0s/warpdrive/WarpDrive.java b/src/main/java/cr0s/warpdrive/WarpDrive.java index ee287c54..7a8617a2 100644 --- a/src/main/java/cr0s/warpdrive/WarpDrive.java +++ b/src/main/java/cr0s/warpdrive/WarpDrive.java @@ -117,7 +117,7 @@ import cr0s.warpdrive.world.SpaceWorldGenerator; */ public class WarpDrive implements LoadingCallback { public static final String MODID = "WarpDrive"; - public static final String VERSION = "1.3.0.0"; + public static final String VERSION = "@version@"; public static Block warpCore; public static Block protocolBlock; diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 26034a3e..eaf1bea9 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -8,8 +8,8 @@ Jump to hyperspace for long-range traveling! Set up laser cannons on your ship to fight with other players' ships, or craft a mining laser to collect valuable resources on Earth or in space. Cloak your ship, base or a space station from your enemies! And lots more!", - "version": "1.3.0.0", - "mcversion": "1.7.10", + "version": "${version}", + "mcversion": "${mcversion}", "url": "http://www.minecraftforum.net/topic/1444954-", "updateUrl": "", "authors": ["Cr0s", "DarkholmeTenk", "drpepper240", "ZLOFENIX", "LemADEC"],