Mercurial > public > develkit
diff metrics.gradle @ 108:bb3fa722df51
USASR-819: Update metrics.gradle to use reporting.baseDir instead of deprecated reportsDir
author | springer@nwoca.org |
---|---|
date | Fri, 15 Jun 2012 18:58:31 +0100 |
parents | f36eeb411845 |
children | 8f3ba3b811bf |
line wrap: on
line diff
--- a/metrics.gradle Mon Jun 04 23:36:30 2012 +0100 +++ b/metrics.gradle Fri Jun 15 18:58:31 2012 +0100 @@ -49,9 +49,9 @@ language = usesGroovy ? 'grvy' : 'java' dynamicAnalysis = "reuseReports" sourceEncoding = "UTF-8" - coberturaReportPath = file("$reportsDir/cobertura/coverage.xml") + coberturaReportPath = file("${reporting.baseDir}/cobertura/coverage.xml") withProjectProperties { props -> - props['sonar.cobertura.reportPath'] = "$reportsDir/cobertura/coverage.xml" + props['sonar.cobertura.reportPath'] = "${reporting.baseDir}/cobertura/coverage.xml" props["sonar.cpd.skip"] = true } }