I need java 8 for a gradle project of mine and want to enable others to use it "out of the box" without changing their environment. So I want to add a specific jdk to version control and make gradle (and gradle wrapper) use it.
I found this: How do I tell Gradle to use specific JDK version? but it doesn't say how to specify a relative path.
In gradle.properties I have:
org.gradle.java.home = <path to jdk>
how can I use it with a relative path? It's in the parent directory, so it would be something like:
org.gradle.java.home = ../resources/jdk8
thanks