Sonarqube-gradle

Hi All,

I am using gradle 5.3.1 running a sonar analysis for a JAVA project. The documentation here https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Gradle states that the sonar.project.key for the sub modules will be like <root module key>:<module path> . Can we configure the sub modules to have a unique sonar project key? If so, how do we do it?

Thanks&Regards,
Vinay

Hi Vinay,

If you want to control the keys, then you need to analyze them separately as top-level projects. Out of curiosity, why do you care what the keys are in SonarQube?

 
Ann