updated example a little

This commit is contained in:
AbrarSyed 2014-03-26 13:34:01 -05:00
parent ff6143dc85
commit 4db8573645
1 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@ buildscript {
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
}
}
@ -25,8 +25,13 @@ minecraft {
version = "${version}"
assetDir = "eclipse/assets"
}
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'