Use Ivy to get Crafttweaker

This commit is contained in:
modmuss50 2017-03-14 13:16:31 +00:00
parent da6925195b
commit aeedc67070
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
2 changed files with 5 additions and 16 deletions

View file

@ -46,10 +46,10 @@ repositories {
name = "Amadornes" name = "Amadornes"
url "http://maven.amadornes.com/" url "http://maven.amadornes.com/"
} }
ivy { ivy {
name "CraftTweaker3" name "CraftTweaker"
artifactPattern "http://www.blamejared.com/content/[module]-[classifier]-Full-[revision].[ext]" artifactPattern "https://addons-origin.cursecdn.com/files/2392/420/[module]-[revision](-[classifier]).[ext]"
} }
maven { maven {
url 'http://maven.epoxide.xyz' url 'http://maven.epoxide.xyz'
} }
@ -97,20 +97,8 @@ license {
group = 'TechReborn' group = 'TechReborn'
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.delete()
}
f.mkdirs()
if(!f.exists()){
f.mkdir()
}
deobfCompile ('RebornCore:RebornCore-1.11.2:+:universal'){ deobfCompile ('RebornCore:RebornCore-1.11.2:+:universal'){
transitive = false transitive = false
} }
@ -122,6 +110,7 @@ dependencies {
//deobfCompile "slimeknights:TConstruct:1.10.2-2.5.3.jenkins384" //deobfCompile "slimeknights:TConstruct:1.10.2-2.5.3.jenkins384"
//deobfCompile "slimeknights.mantle:Mantle:1.10.2-1.0.0.jenkins170" //deobfCompile "slimeknights.mantle:Mantle:1.10.2-1.0.0.jenkins170"
deobfCompile "mcjty.theoneprobe:TheOneProbe:1.11-1.3.3-46" deobfCompile "mcjty.theoneprobe:TheOneProbe:1.11-1.3.3-46"
compile "CraftTweaker:CraftTweaker:1.10.2-3.0.24"
compileOnly 'net.industrial-craft:industrialcraft-2:2.6.129-ex110' compileOnly 'net.industrial-craft:industrialcraft-2:2.6.129-ex110'
} }

Binary file not shown.