migrate RemapJarTask and RemapSourcesJarTask over to getters/setters for fields; make RemapJarTask use input and output locations instead of in-place renaming fluff

This commit is contained in:
asie
2019-05-11 00:53:50 +02:00
parent 1c56fb2eda
commit 788df9cfc7
11 changed files with 135 additions and 169 deletions

View File

@@ -64,7 +64,7 @@ public class LoomGradlePlugin extends AbstractPlugin {
t.getOutputs().upToDateWhen((o) -> false);
});
tasks.register("remapJar", RemapJar.class);
tasks.register("remapJar", RemapJarTask.class);
tasks.register("genSourcesDecompile", FernFlowerTask.class, t -> {
t.getOutputs().upToDateWhen((o) -> false);
@@ -136,7 +136,7 @@ public class LoomGradlePlugin extends AbstractPlugin {
t.setGroup("ide");
});
tasks.register("remapSourcesJar", RemapSourcesJar.class);
tasks.register("remapSourcesJar", RemapSourcesJarTask.class);
tasks.register("runClient", RunClientTask.class, t -> {
t.dependsOn("buildNeeded", "downloadAssets");