The repository used the Gradle build tool.

Gradle does not need to be installed on the local machine. Simple running ./gradlew will automatically download all required files.

Gradle commands

The following, non-exhaustive list, of Gradle commands should provide a good starting point for developing with Gradle:

  • ./gradlew format will format the code using Spotless.
  • ./gradlew static will run static code analysis, i.e. Spotbugs and Checkstyle.
  • ./gradlew check will run all checks and tests.
  • ./gradlew coverage will generate a cross-module Jacoco coverage report.
  • ./gradlew cV to log out the repo’s current version.

ProTip: Simply running ./gradlew without any commands will run the default commands, which are format, static and check. This is perfect when developing.