I am trying to implement sonar with gradle for code-coverage measure for my project. we are using gradle-4.0.1 and sonarqube-6.4 .
when I run gradle sonarqube from comm
In my case it looks like:
plugins { id 'groovy' id 'application' id 'org.sonarqube' version '3.0' } repositories { mavenCentral() } sonarqube { properties { property "sonar.host.url", "http://sonarqube:9000" property "sonar.sources", "src" } } tasks['sonarqube'].dependsOn test