Repository to go along with the How To Test Code Coverage Using SonarQube and Jacoco YouTube video and article at tomgregory.com.
- JDK 8+
- Docker
./gradlew dockerComposeUp
This will run SonarQube at locahost:9000.
Wait for SonarQube to start, then run:
./gradlew sonarqube
./gradlew dockerComposeDown
This example runs against the lts version of SonarQube (currently SonarQube 7). An example using SonarQube 8 can be found on the sonarqube-8 branch.