summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2015-04-29 17:46:49 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2015-04-29 17:46:49 +0100
commit11a14b1380a9417bfd0df7e3086856fe57d60c27 (patch)
treee433aa7701bf45671529b7803442bf3102e1ef19
parent188083469da6424b3facd3b2b19a1c8dc459b1d1 (diff)
downloadkinniutils-11a14b1380a9417bfd0df7e3086856fe57d60c27.tar.bz2
Get NEI into the debug workspace
-rw-r--r--build.gradle24
1 files changed, 24 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 7b2152e..bad1a06 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,11 +32,22 @@ jar {
}
}
+repositories {
+ maven {
+ name "CB Repo"
+ url "http://chickenbones.net/maven"
+ }
+}
+
dependencies {
// you may put jars on which you depend on in ./libs
// or you may define them like so..
//compile "some.group:artifact:version:classifier"
//compile "some.group:artifact:version"
+
+ // Minecraft deps
+ testCompile 'codechicken:NotEnoughItems:1.7.10-1.0.2.15:dev'
+ testCompile 'codechicken:CodeChickenCore:1.7.10-1.0.2.9:dev'
// real examples
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
@@ -48,6 +59,19 @@ dependencies {
}
+// This task for ChickenBones came from https://github.com/AbrarSyed/SecretRoomsMod-forge
+task copyChicken(type: Copy, dependsOn: "extractUserDev") {
+ from { configurations.testCompile }
+ include "**/*Chicken*.jar", "**/*NotEnoughItems*.jar"
+ exclude "**/CodeChickenLib*" // because CCC downloads it anyways.. -_-
+ into file(minecraft.runDir + "/mods")
+
+ mustRunAfter "deobfBinJar"
+ mustRunAfter "repackMinecraft"
+}
+tasks.setupDevWorkspace.dependsOn copyChicken
+tasks.setupDecompWorkspace.dependsOn copyChicken
+
processResources
{
// this will ensure that this task is redone when the versions change.