Team-EnderIO / EnderIO

EnderIO Rewritten for Modern Minecraft.
https://enderio.com
The Unlicense
332 stars 100 forks source link

[1.21] Fail build on checkstyle error. #716

Closed Rover656 closed 1 day ago

Rover656 commented 3 months ago

Checkstyle is currently enforced through the puppystyle GitHub Actions checker for PRs. In a recent commit I have also added the ability to run checkstyle via gradle.

I need to go and resolve the handful of checkstyle errors in the main codebase before enabling this. Then dev's builds will fail until code style problems have been resolved - preventing so many GitHub Actions messages :)

Note: This will not prevent runClient etc., but running build will fail - so nightly builds will fail as will local attempts to run a jar build. It will be encouraged to run the build task regularly to ensure your code is conformant.