More textures

This commit is contained in:
Modmuss50 2015-11-26 20:43:56 +00:00
parent 869e6d4bf8
commit 7370784c7f
8 changed files with 205 additions and 9 deletions

View file

@ -113,21 +113,25 @@ dependencies {
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 version and mcversion
// ${version} and ${mcversion} are the exact strings being replaced
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, that's not the mcmod.info
// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
task deobfJar(type: Jar) {
from sourceSets.main.output
exclude "**/*.psd"