changeset 118:f84f1d5465c1

update code coverage for sonar 3.3
author smith@nwoca.org
date Thu, 01 Nov 2012 21:18:20 +0100
parents 5e06e0629f85
children 740e905fce78
files metrics.gradle
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/metrics.gradle	Thu Nov 01 19:57:09 2012 +0100
+++ b/metrics.gradle	Thu Nov 01 21:18:20 2012 +0100
@@ -34,6 +34,7 @@
     }  
     withGlobalProperties { props ->
         props["sonar.language"] = "grvy"
+        props['sonar.core.codeCoveragePlugin'] = 'cobertura'
     }
 }
     
@@ -59,6 +60,7 @@
                             println "setting groovy profile on $p"
                             props['sonar.profile'] = 'SSDT Groovy Way'
                         }
+                        props['sonar.core.codeCoveragePlugin'] = 'cobertura'
                         props['sonar.cobertura.reportPath'] = "${reporting.baseDir}/cobertura/coverage.xml"
                         props["sonar.cpd.skip"] = true
                         props['sonar.language'] = usesGroovy ? 'grvy' : 'java'
@@ -89,6 +91,7 @@
                     dynamicAnalysis = "reuseReports"     
                     sourceEncoding = "UTF-8"
                     withProjectProperties { props ->
+                        props['sonar.core.codeCoveragePlugin'] = 'cobertura'
                         props['sonar.language'] = usesGroovy ? 'grvy' : 'java'
                     }                    
                 }