title: How can I specify cobertura report path for gradle sonar-runner plugin?
body: <p>I'm trying to convert my configuration from the old gradle 'sonar' plugin to the new gradle 'sonar-runner' plugin for gradle 1.5.  </p>
  
  <p>Since I switched to the sonar-runner plugin, sonar is no longer reusing my cobertura coverage.xml to calculate unit test coverage.  I can't find any examples in the <a href="http://www.gradle.org/docs/current/userguide/sonar_runner_plugin.html" rel="nofollow">sonar-runner user guide</a> showing how to configure this.  Previously I was using the sonar.project.coberturaReportPath to specify the location of my coverage.xml.</p>
  
  <p>My sonar instance is v.3.4.  I'm using a gradle cobertura plugin to generate my coverage.xml.  </p>
  
  <p>Here's my sonar-runner configuration:</p>
  
  <pre><code>sonarRunner {
      sonarProperties{
          property "sonar.host.url", "http://sonar"
          property "sonar.jdbc.url", "jdbc:mysql://sonar:3306/sonar"
          property "sonar.jdbc.driverClassName", "com.mysql.jdbc.Driver"
          property "sonar.username", "username"
          property "sonar.password", "password"
          property "sonar.language", "grvy"
          property "sonar.coberturaReportPath", file("$buildDir/reports/cobertura/coverage.xml") //not sure if this is right!
      }
  }
  </code></pre>
  
  <p>Here's my old sonar configuration (which worked!):</p>
  
  <pre><code>sonar {
      server {
          url = "http://sonar"
      }
      database {
          url = "jdbc:mysql://sonar:3306/sonar"
          driverClassName = "com.mysql.jdbc.Driver"
          username = "username"
          password = "password"
      }
      project {
          language = "grvy"
          coberturaReportPath = file("$buildDir/reports/cobertura/coverage.xml")
      }
  }
  </code></pre>