Running runtime task on Linux, Java 11, Gradle 5.2.1 and Runtime Plugin 1.1.5 causes the following error:
A problem was found with the configuration of task ':runtime'.
> No value has been specified for property 'javaHome'.
Using the following configuration in build.gradle:
runtime {
javaHome.set(System.getProperty("java.home"))
}
fixes the problem, so I propose to change this line to javaHome.set(System.getProperty("java.home")). It should work in every case.
Running
runtimetask on Linux, Java 11, Gradle 5.2.1 and Runtime Plugin 1.1.5 causes the following error:Using the following configuration in build.gradle:
fixes the problem, so I propose to change this line to
javaHome.set(System.getProperty("java.home")). It should work in every case.