Browse Source

Credit @marcphilipp and @snicoll

See gh-24474
pull/24490/head
Sam Brannen 6 years ago
parent
commit
ce2c0e4c79
  1. 5
      gradle/custom-java-home.gradle

5
gradle/custom-java-home.gradle

@ -16,13 +16,16 @@ @@ -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

Loading…
Cancel
Save