aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2017-03-20 15:56:15 +0100
committerTechnus <daniel112092@gmail.com>2017-03-20 15:56:15 +0100
commit40a23976446b29fa35151f790131216d5de1d724 (patch)
treec5a67fa989dcca27abae537c7cbe6d84828b5034 /build.gradle
parentcbc6526d403d9eb0f64de603099c7b41f7e8fc72 (diff)
downloadGT5-Unofficial-40a23976446b29fa35151f790131216d5de1d724.tar.gz
GT5-Unofficial-40a23976446b29fa35151f790131216d5de1d724.tar.bz2
GT5-Unofficial-40a23976446b29fa35151f790131216d5de1d724.zip
Add soft dependency CoFH Core/Lib
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle16
1 files changed, 16 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 1a1a61aa64..d8aac059a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -43,6 +43,12 @@ minecraft {
replace "GRADLETOKEN_VERSION", "${config.tectech.version}"
}
+configurations {
+ provided
+ embedded
+ compile.extendsFrom provided, embedded
+}
+
repositories {
maven {
name 'UsrvDE'
@@ -52,11 +58,21 @@ repositories {
name = "ic2"
url = "http://maven.ic2.player.to/"
}
+ ivy {
+ name 'CoFHLib'
+ artifactPattern "http://addons-origin.cursecdn.com/files/${config.cofhlib.cf}/[module]-[revision].[ext]"
+ }
+ ivy {
+ name 'CoFHCore'
+ artifactPattern "http://addons-origin.cursecdn.com/files/${config.cofhcore.cf}/[module]-[revision].[ext]"
+ }
}
dependencies {
compile "eu.usrv:YAMCore:${config.minecraft.version}-${config.yamcore.version}:deobf"
compile "net.industrial-craft:industrialcraft-2:${config.ic2.version}:dev"
+ provided name: 'CoFHLib', version: config.cofhlib.version, ext: 'jar'
+ provided name: 'CoFHCore', version: config.cofhcore.version, ext: 'jar'
}
task getGregTech(type: Download) {