Before committing, make sure all tests run successfully:
./gradlew build
Do not commit or PR broken code.
Also make sure all code-formatting is correct:
./gradlew spotlessCheck
You can correct errors manually, or to attempt automatic correction:
./gradlew spotlessApply