# HG changeset patch # User smith@nwoca.org # Date 1547140929 0 # Node ID 1d63556430a624616b561ff6c29b3f878c1c6514 # Parent 16c2e0ea65011313a4e311306364520dd8e55838 set environment at project level. remove tests for -indy jars diff -r 16c2e0ea6501 -r 1d63556430a6 init40.gradle --- a/init40.gradle Mon Jan 07 13:50:21 2019 +0000 +++ b/init40.gradle Thu Jan 10 17:22:09 2019 +0000 @@ -251,6 +251,8 @@ subprojects { + it.ext.environment = gradle.environment + dependencyLocking { if (gradle.branch.isRelease() ) { lockAllConfigurations() @@ -488,12 +490,9 @@ root.subprojects { p -> 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" - [compileGroovy.groovyOptions, compileTestGroovy.groovyOptions]*.with { - optimizationOptions = [indy: true] - } + println "enabling indy compilation on $p" + [compileGroovy.groovyOptions, compileTestGroovy.groovyOptions]*.with { + optimizationOptions = [indy: true] } } }