For integ testing, don't try and set a tmp dir if the Gradle version doesn't support spaces in GRADLE_OPTS or JAVA_OPTS.

This is a bit awkward as it assumes subclasses implement system props via env vars. Using a CLI arg to set this causes issues on windows if the path to the Gradle binary contains a space.