Credit @marcphilipp and @snicoll

See gh-24474
This commit is contained in:
Sam Brannen 2020-02-06 15:32:51 +01:00
parent 8f02e1088d
commit ce2c0e4c79
1 changed files with 4 additions and 1 deletions

View File

@ -16,13 +16,16 @@
// Do not set this system property if Java 8 should be used.
//
// Examples:
//
//
// ./gradlew -DcustomJavaHome=/Library/Java/JavaVirtualMachines/jdk-14.jdk/Contents/Home test
//
// ./gradlew --no-build-cache -DcustomJavaHome=/Library/Java/JavaVirtualMachines/jdk-14.jdk/Contents/Home test
//
// ./gradlew -DcustomJavaHome=/Library/Java/JavaVirtualMachines/jdk-14.jdk/Contents/Home -DcustomJavaSourceVersion=14 test
//
//
// Credits: inspired by work from Marc Philipp and Stephane Nicoll
//
// -----------------------------------------------------------------------------
import org.gradle.internal.os.OperatingSystem