The source project of this merge request has been removed.
Bug and Style checker
- Added SpotBugs, Spotless, and Gradle Githook to Gradle build.
- Updated format on files
SpotBugs (FindBugs successor)
- Added SpotBugs to Gradle build to find common bugs to the code
- Check main code:
./gradlew spotbugsMain
- Check test code:
./gradlew spotbugsTest
-
spotbugsMain
andspotbugsTest
are ran automatically on git commit
Spotless
- Added Spotless to Gradle build to check code formatting based on the Eclipse format XML file (src/resources/nshmp.eclipse-format.xml)
- Check code:
./gradlew spotlessCheck
- Apply format:
./gradlew spotlessApply
-
spotlessCheck
is automatically ran on Git push
Gradle Githook
- Added Gradle Githook to allow Git hooks
Edited by Clayton, Brandon Scott