Skip to content

Commit

Permalink
cleaned up the version numbers in build system
Browse files Browse the repository at this point in the history
  • Loading branch information
Voidi committed Oct 7, 2015
1 parent d01f751 commit fe12638
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 14 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
4 changes: 4 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
minecraft.version=1.7.10
forge.version=10.13.4.1448-1.7.10

mod.version=0.9.3
3 changes: 0 additions & 3 deletions gradle.properties

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/java/modtweaker2/ModProps.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit fe12638

Please sign in to comment.