SpongePowered / VanillaGradle

A toolchain for Minecraft: Java Edition that builds a workspace to interact with the game using the official mappings provided to the public by Mojang Studios.
MIT License
89 stars 18 forks source link

Add a task to validate configured access wideners #46

Open zml2008 opened 2 years ago

zml2008 commented 2 years ago

While the runtime behaviour is to ignore unknown classes, methods, and fields in AWs, we would like to be able to provide some extra validation at compile time.

The most basic validation is verifying syntax.

We could additionally validate every AW entry against the runtime classpath.

This should be optional -- allow the checks to be disabled entirely or downgraded to warnings.