mirror of https://github.com/FabricMC/yarn.git
Fix Gradle script
This commit is contained in:
parent
cbf20a3db3
commit
9306db9f1b
|
@ -1,10 +1,6 @@
|
|||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven {
|
||||
name = "Fabric"
|
||||
url = "http://maven.fabricmc.net/"
|
||||
}
|
||||
maven {
|
||||
name "Modmuss50 Repository"
|
||||
url 'https://maven.modmuss50.me'
|
||||
|
@ -122,7 +118,7 @@ task pomf << {
|
|||
def mavenMetadata = new File(cacheFiles, "maven-metadata.xml")
|
||||
|
||||
logger.lifecycle(":downloading enigma metadata")
|
||||
FileUtils.copyURLToFile(new URL("http://maven.fabricmc.net/cuchaz/enigma/maven-metadata.xml"), mavenMetadata)
|
||||
FileUtils.copyURLToFile(new URL("http://maven.modmuss50.me/cuchaz/enigma/maven-metadata.xml"), mavenMetadata)
|
||||
|
||||
def metadata = new XmlSlurper().parseText(FileUtils.readFileToString(mavenMetadata))
|
||||
def enigmaVersion = metadata.versioning.release
|
||||
|
@ -130,7 +126,7 @@ task pomf << {
|
|||
def enigma = new File(cacheFiles, "${enigmaVersion}.jar")
|
||||
|
||||
logger.lifecycle(":downloading enigma")
|
||||
FileUtils.copyURLToFile(new URL("http://maven.fabricmc.net/cuchaz/enigma/${enigmaVersion}/enigma-${enigmaVersion}-all.jar"), enigma)
|
||||
FileUtils.copyURLToFile(new URL("http://maven.modmuss50.me/cuchaz/enigma/${enigmaVersion}/enigma-${enigmaVersion}-all.jar"), enigma)
|
||||
|
||||
logger.lifecycle(":launching enigma")
|
||||
ant.java(jar: enigma.getAbsolutePath(), fork: true, spawn: true) {
|
||||
|
|
Loading…
Reference in New Issue