changeset 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 167745cd8af9
children 029db4d977fe
files metrics.gradle
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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
                     }                    
                 }