ongoing de-OMLification

dev/0.11
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 # fabric-loom
Gradle plugin for OpenModLoader Gradle plugin for Fabric
Usage: `gradlew setup idea` Usage: `gradlew setup idea`
(Use `./gradle` on macOS and Linux) (Use `./gradle` on macOS and Linux)

View File

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

View File

@ -75,7 +75,7 @@ public class DownloadTask extends DefaultTask {
if (!Constants.MAPPINGS_ZIP.get(extension).exists() && extension.hasPomf()) { if (!Constants.MAPPINGS_ZIP.get(extension).exists() && extension.hasPomf()) {
this.getLogger().lifecycle(":downloading mappings"); this.getLogger().lifecycle(":downloading mappings");
try { 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) { } catch (Exception e) {
throw new RuntimeException("Failed to download mappings", 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) { if (!Constants.MAPPINGS_TINY_GZ.get(extension).exists() && !extension.localMappings) {
getLogger().lifecycle(":downloading tiny mappings"); getLogger().lifecycle(":downloading tiny mappings");
try { 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) { } catch (Exception e) {
throw new RuntimeException("Failed to download mappings", 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