title: How do I aggregate Sonar reports for multimodule project in Gradle?
body: <p>I've got a multimodule Gradle 4.6 project and Sonarqube 7. Sonarqube and Jacoco are configured as follows:</p>
  
  <pre><code>apply plugin: 'org.sonarqube'
  
  sonarqube {
      properties {
          property 'sonar.host.url', sonarHostUrl
          property 'sonar.jacoco.reportPaths', "$buildDir/reports/jacoco"
      }
  }
  
  apply plugin: 'jacoco'
  
  jacoco {
      toolVersion = "0.7.9"
  }
  
  jacocoTestReport {
      group = "Reporting"
      reports {
          xml.enabled true
          xml.destination "${buildDir}/reports/jacoco/report.xml"
          csv.enabled false
          html.enabled true
      }
  }
  
  test {
      jacoco {
          append = true
      }
  }
  </code></pre>
  
  <p>I'm running build and sonar with the following commands:</p>
  
  <pre><code>./gradlew clean build jacocoTestReport --info
  
  ./gradlew sonarqube -Dsonar.branch=nonMasterBranch --info
  </code></pre>
  
  <p>I expect it go aggregate Sonar report and show me a single project in Sonarqube (I'm using <code>append=true</code> in the jacoco configuration). However, I'm getting a project per module that is very messy.</p>
  
  <p>Thank you very much for any ideas! I've been working with this hell task for too much time and no thoughts:C</p>