Mercurial > public > develkit
changeset 272:1d63556430a6
set environment at project level. remove tests for -indy jars
author | smith@nwoca.org |
---|---|
date | Thu, 10 Jan 2019 17:22:09 +0000 |
parents | 16c2e0ea6501 |
children | f5c641647fc6 |
files | init40.gradle |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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] } } }