Open xeruf opened 3 years ago
This cannot work. Gradle does special handling for some properties in the standard files like JVM arguments or java home value, because it of course needs those values before the build actually starts.
This plugin can only ever work when the build is actually running already, so such properties cannot have any effect in files specific to this plugin.
I need to use a particular JDK version with Gradle in a project, so I set
org.gradle.java.home
in gradle-local.properties and applied the plugin. Unfortunately, this didn't seem to change anything. Placing the same line into gradle.properties had the desired effect.