forked from Frege/frege-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Gradle Quirks
tricktron edited this page Mar 11, 2022
·
1 revision
- Gradle Wrapper uses the
$JAVA_HOME
env variable to pick the Java version it runs with. - Installed Gradle uses the Java version it is bundled with (see
gradle -v
).
If you want that both use the same Java version, set the following config in your gradle.properties
:
org.gradle.java.home=<path to java home>
.