changeset 237:66a99ce5f60a

DEP-13: re-enable new sonar analysis
author smith@nwoca.org
date Thu, 20 Oct 2016 19:03:18 +0100
parents 33c98751eb08
children d7f0ae9e28af
files metrics.gradle
diffstat 1 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/metrics.gradle	Thu Oct 20 00:01:28 2016 +0100
+++ b/metrics.gradle	Thu Oct 20 19:03:18 2016 +0100
@@ -27,20 +27,15 @@
 
 if (newSonar) {
 
- task('sonar') << {
-    println "sonar disabled"
-}
-
-//    apply plugin: org.sonarqube.gradle.SonarQubePlugin
+    apply plugin: org.sonarqube.gradle.SonarQubePlugin
     
-//    sonarqube {
-//        properties {
-//            property "sonar.host.url", "http://sonar.ssdt.io:9000"
-//            property "sonar.login", System.getenv('bamboo_SONAR_TOKEN')
-//            property "sonar.exclusions","**/ProjectVersion*"
-//        }
-//    }
-     
+    sonarqube {
+        properties {
+            property "sonar.host.url", "http://sonar.ssdt.io:9000"
+            property "sonar.login", System.getenv('bamboo_SONAR_TOKEN')
+            property "sonar.exclusions","**/ProjectVersion*"
+        }
+    }
 }
 
 if (legacySonar) {