Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gradle/installer-json.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ abstract class GenerateInstallerJsonTask extends DefaultTask {
def library = [name: artifact.moduleVersion.toString(), url: "https://maven.fabricmc.net/"]
library.putAll(resolveHashes(artifact.moduleVersion.toString()))

// LaunchWrapper should not specify a maven url, as its hosted on Mojang's maven.
if (library.name.startsWith("net.minecraft")) {
library.remove("url")
}

json.libraries[side].add(library)
}
}
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/fabric-installer.launchwrapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
},
{
"name": "net.minecraft:launchwrapper:1.12",
"url": "https://maven.fabricmc.net/",
"md5": "111e7bea9c968cdb3d06ef4632bf7ff0824d0f36",
"size": 32999
}
Expand Down