Skip to content

Commit

Permalink
Add a MjAPI bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
Prototik committed May 8, 2014
1 parent 97bf345 commit d6c125b
Show file tree
Hide file tree
Showing 45 changed files with 62 additions and 2,025 deletions.
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,16 @@ minecraft {
//replace '@BUILD_NUMBER@', project.buildnumber
}

configurations {
compile.extendsFrom exportedCompile
}

dependencies {
compile files('lib/cglib-nodep-2.2.3.jar')
compile files('lib/NotEnoughItems-1.7.2-1.0.1-universal.jar')
compile files('lib/CodeChickenCore-1.7.2-1.0.0-universal.jar')
compile files('lib/CodeChickenLib-1.7.2-1.1.0.76-dev.jar')
exportedCompile 'com.mod-buildcraft:buildcraft:6.0.10:api'
}

// configure the source folders
Expand Down Expand Up @@ -102,8 +106,13 @@ task sourceJar(type: Jar) {
// because the normal output has been made to be obfuscated
task deobfJar(type: Jar) {
from sourceSets.main.output
from { configurations.exportedCompile.collect { it.isDirectory() ? it : zipTree(it) } }
classifier = 'dev'
}

jar {
from { configurations.exportedCompile.collect { it.isDirectory() ? it : zipTree(it) } }
}

// make sure all of these happen when we run build
build.dependsOn sourceJar, deobfJar
build.dependsOn sourceJar, deobfJar
Empty file modified gradlew
100644 → 100755
Empty file.
22 changes: 0 additions & 22 deletions src/main/java/buildcraft/api/core/BuildCraftAPI.java

This file was deleted.

33 changes: 0 additions & 33 deletions src/main/java/buildcraft/api/core/IAreaProvider.java

This file was deleted.

29 changes: 0 additions & 29 deletions src/main/java/buildcraft/api/core/IBox.java

This file was deleted.

32 changes: 0 additions & 32 deletions src/main/java/buildcraft/api/core/IIconProvider.java

This file was deleted.

13 changes: 0 additions & 13 deletions src/main/java/buildcraft/api/core/LaserKind.java

This file was deleted.

141 changes: 0 additions & 141 deletions src/main/java/buildcraft/api/core/Position.java

This file was deleted.

84 changes: 0 additions & 84 deletions src/main/java/buildcraft/api/core/SafeTimeTracker.java

This file was deleted.

Loading

0 comments on commit d6c125b

Please sign in to comment.