Show sonarqube analysis result of Multi module gradle projects under root project

Hi,

I have a multimodule java grade project. I followed https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-gradle/ and was able to configure sonarqube project for them.

But in the analysis it shows the analysis result of each project separately.

Is there a way I can show the analysis under root project. And on clicking on the root project it should show the details of subprojects.

My issue is that I have 3 root projects and each root project has alt least 5 subprojects and the sonar analysis pages looks crowded.

I used sonarqube version 7.8, gradle 4.6 an d Java 8

( originally posted in https://stackoverflow.com/questions/57375103/show-sonarqube-analysis-result-of-multi-module-gradle-projects-under-root-projec)

Thanks in advance

I moved the apply plugin: “org.sonarqube” from subprojects to oustside and it worked fine