cleaned up the version numbers in build system

This commit is contained in:
Tobias Wohlfarth 2015-10-07 16:36:04 +02:00
parent e094605673
commit ac136bbb4c
5 changed files with 23 additions and 11 deletions

View file

@ -4,21 +4,21 @@ ModTweaker is an addon for MineTweaker 3. Minetweaker lets you adjust recipes, r
Stable Releases on Curse
==========
----------
http://minecraft.curseforge.com/mc-mods/220954-modtweaker
Development build on jenkins
==========
----------
http://ci.tterrag.com/job/ModTweaker2
Guidelines for Bugreporting
==========
----------
https://github.com/jaredlll08/ModTweaker2/wiki/Bug-Reporting-Guidelines
Supported Mods
==========
----------
- Applied Energistics 2
- Auracascade
- Botania

View file

@ -16,13 +16,24 @@ buildscript {
}
apply plugin: 'forge'
apply plugin: 'java'
version = "0.9.2"
// define the properties file
ext.configFile = file "build.properties"
configFile.withReader {
// read config. it shall from now on be referenced as simply config or as project.config
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
}
version=config.mod.version
group= "modtweaker" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "ModTweaker~2"
archivesBaseName = "ModTweaker2"
minecraft {
version = "${mc_version}-${forge_version}"
version = "${config.minecraft.version}-${config.forge.version}"
runDir = "eclipse"
}

4
build.properties Normal file
View file

@ -0,0 +1,4 @@
minecraft.version=1.7.10
forge.version=10.13.4.1448-1.7.10
mod.version=0.9.3

View file

@ -1,3 +0,0 @@
mc_version=1.7.10
forge_version=10.13.4.1492-1.7.10
mod_version=0.3.0

View file

@ -4,6 +4,6 @@ public class ModProps {
public static final String NAME = "Mod Tweaker 2", name = NAME;
public static final String MODID = "modtweaker2", modid = MODID;
public static final String VERSION = "0.9.2", version = VERSION;
public static final String VERSION = "0.9.3", version = VERSION;
public static final String DEPENDENCIES = "required-after:MineTweaker3", dependencies = DEPENDENCIES;
}