# HG changeset patch # User smith@nwoca.org # Date 1441051855 -3600 # Node ID a3c507b868a9e4d6b6ce1d674f4bfc867c93b722 # Parent e90ce1d50d859b2926f21c58519057b1377843d6# Parent b217dc3b654a98bee5e86f4b05a1ac063167d221 merge diff -r b217dc3b654a -r a3c507b868a9 init20.gradle --- 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] }