Updated gradle and mcmod.info

This commit is contained in:
Fenn committed 2014-06-04 23:05:36 +01:00
1 parent 77cb4055e4
commit 065a13fac5
2 files changed
+36 -16

No files matched your search

+35 -15
View File
@@ -27,21 +27,41 @@ minecraft {
}
processResources
{
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
{
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
// Create deobf dev jars
task deobfJar(type: Jar) {
from(sourceSets.main.output) {
appendix = 'deobf'
}
}
// Create API library zip
task apiZip(type: Zip) {
from(sourceSets.main.java) {
}
classifier = 'api'
}
apiZip.mustRunAfter deobfJar
artifacts {
archives deobfJar
archives apiZip
}
+1 -1
View File
@@ -4,7 +4,7 @@
"name": "Chisel",
"description": "A mod that adds in many fancy blocks for decoration, which are crafted utilising the Chisel.",
"version": "1.5.4e",
"credits": "This mod uses a lot of textures from the Painterly pack: http://painterlypack.net/. Also one stone variation is designed to look like a block from Doku.",
"credits": "This mod uses a lot of textures from the Painterly pack: http://painterlypack.net/. Also one stone variation is designed to look like a block from Doku. Oh, and asie for porting the mod to 1.7.2",
"logoFile": "",
"mcversion": "1.7.2",
"url": "",