# HG changeset patch # User smith@nwoca.org # Date 1333215787 -3600 # Node ID 3267840f534f0f6ed39474bc86ddd1071171f1f3 # Parent 8ac4e506ca7bb2e87c607b9be89e3fff358610ed USASR-800: fix showEnvironment task diff -r 8ac4e506ca7b -r 3267840f534f init.gradle --- a/init.gradle Sat Mar 31 18:35:31 2012 +0100 +++ b/init.gradle Sat Mar 31 18:43:07 2012 +0100 @@ -108,10 +108,10 @@ task showEnvironments << { - println "Defined environments: $environments" - environments.each { e -> + println "Defined environments: $gradle.environments" + gradle.environments.each { e -> println "\n $e:" - getProperty(e).flatten().each { k, v -> println String.format(' %25s = %s',k,v) } + gradle.getProperty(e).flatten().each { k, v -> println String.format(' %25s = %s',k,v) } } }