comparison init.gradle @ 96:8d2ca0022794

fix ivydir default
author smith@nwoca.org
date Mon, 05 Mar 2012 14:42:03 +0000
parents ebb42488396a
children bdc17bcaf797
comparison
equal deleted inserted replaced
95:ebb42488396a 96:8d2ca0022794
1 1
2 gradle.ssdtDevelkitLocation = gradle.hasProperty('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit' 2 gradle.ssdtDevelkitLocation = gradle.hasProperty('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'
3 3
4 ant.property(file: System.getProperty('user.home') + "/.ssdt/private.properties") 4 ant.property(file: System.getProperty('user.home') + "/.ssdt/private.properties")
5 if (ant.properties['ivy.default.ivy.user.dir']) { 5 gradle.ivyUserDir = ant.properties['ivy.default.ivy.user.dir'] ?: System.getProperty('user.home') + "/.ivy2"
6 gradle.ivyUserDir = ant.properties['ivy.default.ivy.user.dir'] ?: System.getProperty('user.home') + "/.ivy2"
7 }
8 6
9 gradle.addListener(new ArtifactoryGradleSettings()) 7 gradle.addListener(new ArtifactoryGradleSettings())
10 8
11 gradle.bambooBuild = System.getenv().any { it.key.startsWith('BAMBOO')} 9 gradle.bambooBuild = System.getenv().any { it.key.startsWith('BAMBOO')}
12 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild)" 10 logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild)"