diff init20.gradle @ 181:d90208c97ec5

use artifactory script for gradle 2.0
author smith@nwoca.org
date Fri, 19 Dec 2014 17:18:59 +0000
parents 1bdb6e1f2fdb
children 0de8c0720fb4
line wrap: on
line diff
--- a/init20.gradle	Fri Dec 19 04:27:16 2014 +0000
+++ b/init20.gradle	Fri Dec 19 17:18:59 2014 +0000
@@ -104,7 +104,7 @@
 if (gradle.bambooBuild) {
     gradle.ext.ssdtGradlekitLocation = gradle.ext.has('ssdtGradlekitLocation') ? gradle.ssdtGradlekitLocation : 'http://hg.ssdt-ohio.org/ssdt/gradlekit/raw-file/tip'
     logger.info "applying SSDT artifactory Gradle Settings (bamboo: $gradle.bambooBuild host: $hostname)"
-    apply from: "${gradle.ssdtGradlekitLocation}/artifactory.gradle"
+    apply from: "${gradle.ssdtGradlekitLocation}/artifactory20.gradle"
 }
 
 
@@ -234,7 +234,7 @@
             task(taskName) {
                 ext.propertyFile = new File(t, "${e.toLowerCase()}.properties")
                 ext.buildenv = project.file('build/buildenv.txt')
-                inputs.files "../environment${e}.groovy", "../private${e}.groovy", '../private.properties'
+                inputs.files project.file("../environment${e}.groovy"), project.file("../private${e}.groovy"), project.file('../private.properties')
                 outputs.files propertyFile, buildenv
                 outputs.upToDateWhen {
                     gradle.env == project.previousBuildenv