Build fix while waiting for an ic2 update
This commit is contained in:
parent
46f4dc5d95
commit
fa11ff13bc
1 changed files with 7 additions and 25 deletions
32
build.gradle
32
build.gradle
|
@ -82,25 +82,7 @@ minecraft {
|
||||||
|
|
||||||
group = 'TechReborn'
|
group = 'TechReborn'
|
||||||
|
|
||||||
task deleteOldArtifacts(type: Delete) {
|
|
||||||
delete 'build/libs'
|
|
||||||
}
|
|
||||||
|
|
||||||
classes.dependsOn deleteOldArtifacts
|
|
||||||
|
|
||||||
def grabDep(name, url) {
|
|
||||||
ant.get(src: url, dest: 'dep')
|
|
||||||
file("dep/" + url.substring(url.lastIndexOf("/"))).renameTo(file("dep/" + name + ".jar"))
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
def f = new File('dep/')
|
|
||||||
if (!f.exists()) {
|
|
||||||
f.mkdirs()
|
|
||||||
}
|
|
||||||
if (!f.exists()) {
|
|
||||||
f.mkdir()
|
|
||||||
}
|
|
||||||
// compile 'net.industrial-craft:industrialcraft-2:2.2.796-experimental:dev'
|
// compile 'net.industrial-craft:industrialcraft-2:2.2.796-experimental:dev'
|
||||||
// shade 'net.industrial-craft:industrialcraft-2:2.2.796-experimental:api'
|
// shade 'net.industrial-craft:industrialcraft-2:2.2.796-experimental:api'
|
||||||
// compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
|
// compile "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
|
||||||
|
@ -155,13 +137,13 @@ task deobfJar(type: Jar) {
|
||||||
jar {
|
jar {
|
||||||
exclude "**/*.psd"
|
exclude "**/*.psd"
|
||||||
classifier = 'universal'
|
classifier = 'universal'
|
||||||
configurations.shade.each { dep ->
|
// configurations.shade.each { dep ->
|
||||||
from(project.zipTree(dep)){
|
// from(project.zipTree(dep)){
|
||||||
include 'ic2/api/'
|
// include 'ic2/api/'
|
||||||
include 'forestry/api/fuels/'
|
// include 'forestry/api/fuels/'
|
||||||
exclude 'META-INF', 'META-INF/**', '**/*.java'
|
// exclude 'META-INF', 'META-INF/**', '**/*.java'
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
task apiJar(type: Jar) {
|
task apiJar(type: Jar) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue