Sonarqube results get overwriten by the last subproject sonar task

I have a gradle project with multiple subprojects. And I have setup the sonarqube plugin but the Sonarqube results get overwriten by the last subproject sonar task. I expect to see each task, upload their results under the same Sonarqube project but in a separate module/folder. could you pls help me with this?

Hi,

Welcome to the community!

Analysis isn’t additive. Each new analysis will replace the one before. If you expect to see these modules side by side, then you need to either analyze them as separate projects (and perhaps aggregate them in an Application - starting in Developer Edition($)) or all at once.

 
HTH,
Ann