3
0

修改仓库

This commit is contained in:
聪聪 2017-07-13 22:50:13 +08:00
parent 947d57bdb9
commit 84998f01fb

View File

@ -296,11 +296,13 @@ publishing {
}
}
tasks.generateProjectCauldron << {
tasks.generateProjectCauldron {
doLast {
def file = new File('eclipse/cauldron/build.gradle')
file.append('''
repositories {
clear()
mavenLocal()
mavenCentral()
maven {
name 'yumc'
url 'http://repo.yumc.pw/content/groups/public/'
@ -313,7 +315,7 @@ repositories {
name 'minecraft'
url 'https://libraries.minecraft.net/'
}
mavenCentral()
}
dependencies {
''')
@ -325,6 +327,7 @@ dependencies {
}
file.append('}')
}
}
task resolveAllDependencies {
doLast {