Mercurial > public > develkit
changeset 103:3267840f534f
USASR-800: fix showEnvironment task
author | smith@nwoca.org |
---|---|
date | Sat, 31 Mar 2012 18:43:07 +0100 |
parents | 8ac4e506ca7b |
children | 13a1e737ca31 |
files | init.gradle |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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) } } }