# HG changeset patch # User smith@nwoca.org # Date 1330981508 0 # Node ID 8c578d1464769efe3980818a61fc9029993cd48a # Parent bdc17bcaf797d0e0ff7a1c18ad6f6aacb34b1250 correct env reference diff -r bdc17bcaf797 -r 8c578d146476 init.gradle --- a/init.gradle Mon Mar 05 20:56:33 2012 +0000 +++ b/init.gradle Mon Mar 05 21:05:08 2012 +0000 @@ -118,7 +118,7 @@ if (file('private.properties').exists()) { developerPrivate.load(file('private.properties').newReader()) } - setProperty 'env', hasProperty('env') ? gradle.env : (developerPrivate.env ?: 'dev') + setProperty 'env', (hasProperty('env') ? env : (developerPrivate.env ?: 'dev')) println "Environment is: $env" def slurper = new ConfigSlurper(env) def environment = new ConfigObject()