summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-10-22 23:18:26 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-10-22 23:18:26 +0100
commit321927671e5d3ab4a63453f2db370dc6ceee82c7 (patch)
tree4a347d1f8341584e180818217357bd80fe04dbf1
parent2390bae88b1719c0936fca6e513ad64e905be4e3 (diff)
downloadnoctis-321927671e5d3ab4a63453f2db370dc6ceee82c7.tar.bz2
Add support to get NEI into our runtime
-rw-r--r--build.gradle31
1 files changed, 20 insertions, 11 deletions
diff --git a/build.gradle b/build.gradle
index 73c1627..2d7192c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -26,21 +26,30 @@ minecraft {
runDir = "eclipse"
}
+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"
-
- // real examples
- //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
- //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
+ compile 'codechicken:NotEnoughItems:1.7.10-1.0.2.15:dev'
+ compile 'codechicken:CodeChickenCore:1.7.10-1.0.2.9:dev'
+}
- // for more info...
- // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
- // http://www.gradle.org/docs/current/userguide/dependency_management.html
+// This task for ChickenBones came from https://github.com/AbrarSyed/SecretRoomsMod-forge
+task copyChicken(type: Copy, dependsOn: "extractUserDev") {
+ from { configurations.compile }
+ 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
task deobfJar(type: Jar) {
from sourceSets.main.output