| repositories { |
| maven { |
| name "Mobius" |
| url "http://mobiusstrip.eu/maven" |
| } |
| maven { |
| name "ChickenBones" |
| url "http://chickenbones.net/maven" |
| } |
| } |
| dependencies { |
| compile "codechicken:CodeChickenCore:${config.minecraft.version}-${config.ccc.version}:dev" |
| compile "codechicken:CodeChickenLib:${config.minecraft.version}-${config.ccl.version}:dev" |
| compile "codechicken:ForgeMultipart:${config.minecraft.version}-${config.fmp.version}:dev" |
| compile "mcp.mobius.waila:Waila:${config.waila.version}" |
| } |
| |
| minecraft { |
| version = "${config.minecraft.version}-${config.forge.version}" |
| |
| replaceIn "li/cil/oc/OpenComputers.scala" |
| replace "@VERSION@", project.simpleVersion |
| if (project.hasProperty("keystore_fingerprint")) |
| replace "@FINGERPRINT@", keystore_fingerprint |
| } |
| |
| processResources { |
| from(sourceSets.main.resources.srcDirs) { |
| include 'mcmod.info' |
| expand 'version': project.simpleVersion, 'mcversion': config.minecraft.version |
| } |
| from(sourceSets.main.resources.srcDirs) { |
| include 'application.conf' |
| filter { line -> |
| line.replaceAll("@VERSION@", project.simpleVersion) |
| } |
| } |
| from(sourceSets.main.resources.srcDirs) { |
| exclude 'mcmod.info' |
| exclude 'application.conf' |
| } |
| } |