# HG changeset patch # User smith@nwoca.org # Date 1476986598 -3600 # Node ID 66a99ce5f60a4bdbd162142430f65ce31cf28813 # Parent 33c98751eb0803d417dd8afe252128f74f3e2a6f DEP-13: re-enable new sonar analysis diff -r 33c98751eb08 -r 66a99ce5f60a metrics.gradle --- 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) {