diff init.gradle @ 126:b2532280341e

CM-133: switch to sonar-runner
author smith@nwoca.org
date Tue, 04 Jun 2013 16:50:46 +0100
parents 81a8ecfbc8fa
children c93df17513f1
line wrap: on
line diff
--- a/init.gradle	Sat Feb 16 17:37:43 2013 +0000
+++ b/init.gradle	Tue Jun 04 16:50:46 2013 +0100
@@ -49,6 +49,15 @@
    apply from: "${gradle.ssdtGradlekitLocation}/artifactory.gradle" 
 }
 
+
+buildscript {
+    repositories {
+        maven { url 'http://repos.ssdt.nwoca.org/artifactory/gradle-plugins' }
+        maven { url 'http://repos.ssdt.nwoca.org/artifactory/repository' }
+        maven { url 'http://repos.ssdt.nwoca.org/artifactory/libs-snapshots' }
+    }
+}
+
 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle"   
 
 task wrapper(type: Wrapper) {}
@@ -145,7 +154,7 @@
                     }
                 }
                 
-                thisProject.tasks.add("publishLocal") {
+                thisProject.tasks.create("publishLocal") {
                     description = "Publishes this projects artifacts to developer's local repository"
                     dependsOn = ["uploadArchives"]
                 }