Fixes #133, can now run standalone without ic2
This commit is contained in:
parent
5bceef3297
commit
3b6202bece
1 changed files with 12 additions and 1 deletions
13
build.gradle
13
build.gradle
|
@ -59,6 +59,11 @@ repositories {
|
|||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
shade
|
||||
compile.extendsFrom shade
|
||||
}
|
||||
|
||||
def ENV = System.getenv()
|
||||
if (ENV.BUILD_NUMBER) {
|
||||
version = "0.4.0." + "${System.getenv().BUILD_NUMBER}"
|
||||
|
@ -92,7 +97,8 @@ dependencies {
|
|||
if (!f.exists()) {
|
||||
f.mkdir()
|
||||
}
|
||||
compile 'net.industrial-craft:industrialcraft-2:2.2.763-experimental:dev'
|
||||
compile 'net.industrial-craft:industrialcraft-2:2.2.767-experimental:dev'
|
||||
shade 'net.industrial-craft:industrialcraft-2:2.2.767-experimental:api'
|
||||
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.136:dev"
|
||||
compile "codechicken:CodeChickenCore:1.7.10-1.0.6.+:dev"
|
||||
compile "codechicken:NotEnoughItems:1.7.10-1.0.4.+:dev"
|
||||
|
@ -147,6 +153,11 @@ jar {
|
|||
}
|
||||
exclude "**/*.psd"
|
||||
classifier = 'universal'
|
||||
configurations.shade.each { dep ->
|
||||
from(project.zipTree(dep)){
|
||||
exclude 'META-INF', 'META-INF/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task apiJar(type: Jar) {
|
||||
|
|
Loading…
Reference in a new issue