Rename tests.maven to tests.gradle

This commit is contained in:
Nik Everett 2016-02-25 10:26:12 -05:00
parent 49f704fd6a
commit 284f41f7f5
2 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ class BuildPlugin implements Plugin<Project> {
// we use './temp' since this is per JVM and tests are forbidden from writing to CWD
systemProperty 'java.io.tmpdir', './temp'
systemProperty 'java.awt.headless', 'true'
systemProperty 'tests.maven', 'true' // TODO: rename this once we've switched to gradle!
systemProperty 'tests.gradle', 'true'
systemProperty 'tests.artifact', project.name
systemProperty 'tests.task', path
systemProperty 'tests.security.manager', 'true'

View File

@ -122,7 +122,7 @@ public class BootstrapForTesting {
}
// intellij hack: intellij test runner wants setIO and will
// screw up all test logging without it!
if (System.getProperty("tests.maven") == null) {
if (System.getProperty("tests.gradle") == null) {
perms.add(new RuntimePermission("setIO"));
}