Add AccessWidenerValidator (#518)

* Add AccessWidenerValidator

* Move to task

* Review feedback
This commit is contained in:
modmuss50
2021-10-23 15:04:22 +01:00
committed by GitHub
parent 0248bacc16
commit a10307464e
5 changed files with 138 additions and 2 deletions

View File

@@ -57,6 +57,13 @@ public final class LoomTasks {
tasks.register("downloadAssets", DownloadAssetsTask.class, t -> t.setDescription("Downloads required assets for Fabric."));
tasks.register("remapSourcesJar", RemapSourcesJarTask.class, t -> t.setDescription("Remaps the project sources jar to intermediary names."));
tasks.getByName("check").dependsOn(
tasks.register("validateAccessWidener", ValidateAccessWidenerTask.class, t -> {
t.setDescription("Validate all the rules in the access widener against the Minecraft jar");
t.setGroup("verification");
})
);
registerIDETasks(tasks);
registerRunTasks(tasks, project);
registerDecompileTasks(tasks, project);