ongoing de-OMLification

This commit is contained in:
asie 2018-10-24 22:07:18 +02:00
parent b2f78a3904
commit 2c5e50b5a3
5 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
# OpenGradle
Gradle plugin for OpenModLoader
# fabric-loom
Gradle plugin for Fabric
Usage: `gradlew setup idea`
(Use `./gradle` on macOS and Linux)

View file

@ -22,7 +22,7 @@ public class MixinServiceGradle extends MixinServiceLaunchWrapper implements ICl
@Override
public String getName() {
return "OpenModLoaderGradle";
return "FabricGradle";
}
@Override

View file

@ -75,7 +75,7 @@ public class DownloadTask extends DefaultTask {
if (!Constants.MAPPINGS_ZIP.get(extension).exists() && extension.hasPomf()) {
this.getLogger().lifecycle(":downloading mappings");
try {
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/OpenModLoader/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-enigma-" + extension.version + "." + extension.pomfVersion + ".zip"), Constants.MAPPINGS_ZIP.get(extension));
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/FabricMC/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-enigma-" + extension.version + "." + extension.pomfVersion + ".zip"), Constants.MAPPINGS_ZIP.get(extension));
} catch (Exception e) {
throw new RuntimeException("Failed to download mappings", e);
}
@ -103,7 +103,7 @@ public class DownloadTask extends DefaultTask {
if (!Constants.MAPPINGS_TINY_GZ.get(extension).exists() && !extension.localMappings) {
getLogger().lifecycle(":downloading tiny mappings");
try {
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/OpenModLoader/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-tiny-" + extension.version + "." + extension.pomfVersion + ".gz"), Constants.MAPPINGS_TINY_GZ.get(extension));
FileUtils.copyURLToFile(new URL("http://modmuss50.me:8080/job/FabricMC/job/pomf/job/" + extension.version + "/" + extension.pomfVersion + "/artifact/build/libs/pomf-tiny-" + extension.version + "." + extension.pomfVersion + ".gz"), Constants.MAPPINGS_TINY_GZ.get(extension));
} catch (Exception e) {
throw new RuntimeException("Failed to download mappings", e);
}

View file

@ -1 +0,0 @@
implementation-class=net.fabricmc.loom.LoomGradlePlugin

View file

@ -0,0 +1 @@
implementation-class=net.fabricmc.loom.LoomGradlePlugin