Update gradle and dependencies for 1.11.2

This commit is contained in:
Gunther De Wachter 2017-06-02 23:37:27 +02:00
parent 1cde7bc933
commit 5fff8310d6
3 changed files with 24 additions and 6 deletions

View file

@ -7,9 +7,9 @@ aebasename=appliedenergistics2
#########################################################
# Versions #
#########################################################
minecraft_version=1.11
minecraft_version=1.11.2
mcp_mappings=snapshot_20161206
forge_version=13.19.1.2189
forge_version=13.20.0.2310
#########################################################
# Installable #
@ -19,7 +19,8 @@ waila_version=1.7.0-B3_1.9.4
#########################################################
# Provided APIs #
#########################################################
jei_version=4.0.4.199
jei_version=4.3.6.282
tesla_version=1.11-1.3.0.51
ic2_version=2.6.99-ex110
top_version=1.11-1.3.3-46
ic2_version=2.7.57-ex111
top_version=1.11-1.3.3-46
compatlayer_version=1.11.2-0.2.9

View file

@ -43,6 +43,11 @@ repositories {
name 'tterrag maven'
url "http://maven.tterrag.com/"
}
maven { // McJtyLib
name 'mcjty'
url "http://maven.k-4u.nl/"
}
}
configurations {
@ -54,6 +59,7 @@ dependencies {
//mods "mcp.mobius.waila:Waila:${waila_version}"
//mods "net.industrial-craft:industrialcraft-2:${ic2_version}:dev"
mods "mcjty.theoneprobe:TheOneProbe:${top_version}"
mods "com.github.mcjty:compatlayer:${compatlayer_version}"
// compile against provided APIs
compileOnly "mezz.jei:jei_${minecraft_version}:${jei_version}:api"

View file

@ -42,8 +42,19 @@ task deinstallIC2(type: Delete) {
delete fileTree(dir: minecraft.runDir + "/mods", include: "*industrialcraft-2*.jar")
}
// COMPATLAYER
task installCompatLayer(type: Copy, dependsOn: "deinstallCompatLayer") {
from { configurations.mods }
include "**/*compatlayer*.jar"
into file(minecraft.runDir + "/mods")
}
task deinstallCompatLayer(type: Delete) {
delete fileTree(dir: minecraft.runDir + "/mods", include: "*compatlayer*.jar")
}
// TOP
task installTop(type: Copy, dependsOn: "deinstallTop") {
task installTop(type: Copy, dependsOn: ["deinstallTop", "installCompatLayer"]) {
from { configurations.mods }
include "**/*TheOneProbe*.jar"
into file(minecraft.runDir + "/mods")