comparison 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
comparison
equal deleted inserted replaced
124:81a8ecfbc8fa 126:b2532280341e
45 45
46 if (gradle.bambooBuild) { 46 if (gradle.bambooBuild) {
47 gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip' 47 gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip'
48 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)" 48 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)"
49 apply from: "${gradle.ssdtGradlekitLocation}/artifactory.gradle" 49 apply from: "${gradle.ssdtGradlekitLocation}/artifactory.gradle"
50 }
51
52
53 buildscript {
54 repositories {
55 maven { url 'http://repos.ssdt.nwoca.org/artifactory/gradle-plugins' }
56 maven { url 'http://repos.ssdt.nwoca.org/artifactory/repository' }
57 maven { url 'http://repos.ssdt.nwoca.org/artifactory/libs-snapshots' }
58 }
50 } 59 }
51 60
52 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle" 61 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle"
53 62
54 task wrapper(type: Wrapper) {} 63 task wrapper(type: Wrapper) {}
143 repositories { 152 repositories {
144 add thisProject.repositories.local 153 add thisProject.repositories.local
145 } 154 }
146 } 155 }
147 156
148 thisProject.tasks.add("publishLocal") { 157 thisProject.tasks.create("publishLocal") {
149 description = "Publishes this projects artifacts to developer's local repository" 158 description = "Publishes this projects artifacts to developer's local repository"
150 dependsOn = ["uploadArchives"] 159 dependsOn = ["uploadArchives"]
151 } 160 }
152 } 161 }
153 162