Below is the content of the build.gradle file:
apply plugin: \'java\'
archivesBaseName = \'foo-bar\'
version = \'1.0\'
sourc
The solution to define the JVM for gradle at workspace level is not ideal. In the case of multiple projects/builds on different JVMs, this cannot be used.
In Eclipse Kepler with Spring Gradle plugin (3.3.0) it is possible to define the JVM for your gradle build task (External tool).
At External Tool Configuration | Arguments | Java Home you can define which JVM should be used for the build.