Mercurial > public > develkit
changeset 204:a3c507b868a9
merge
author | smith@nwoca.org |
---|---|
date | Mon, 31 Aug 2015 21:10:55 +0100 |
parents | e90ce1d50d85 (diff) b217dc3b654a (current diff) |
children | 55a2f489dbf7 |
files | init20.gradle |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/init20.gradle Fri Aug 21 12:40:01 2015 +0100 +++ b/init20.gradle Mon Aug 31 21:10:55 2015 +0100 @@ -4,6 +4,8 @@ final GradleVersion gradleCurrent = GradleVersion.current() final GradleVersion gradleV20 = GradleVersion.version('2.0') println "Gradle Version: $gradleCurrent" +println "Java Version: ${System.getProperty('java.version')}" + if (gradleCurrent < gradleV20) { throw new RuntimeException("this init script requires Gradle version 2.0 or higher") } @@ -417,7 +419,7 @@ if (root.useIndy()) { def groovyIndy = p.configurations.compile.files.find { f -> f.name.startsWith('groovy-all') && f.name.contains('-indy') } if (groovyIndy) { - // println "enabling indy compilation on $p" + println "enabling indy compilation on $p" [compileGroovy.groovyOptions, compileTestGroovy.groovyOptions]*.with { optimizationOptions = [indy: true] }