figurate / figurate-gradle

A collection of custom gradle plugins
2 stars 8 forks source link

add the ability to set a java home path explicitly in the build #17

Closed whboyd closed 8 years ago

whboyd commented 8 years ago

Some CI environments that support builds for a wide variety of projects maintain multiple java installations (usually for different jdk versions). In such environments, using the JAVA_HOME environment variable to locate the proper keytool executable won't work. This provides an optional alternative way to specify the the java home through a project extension, i.e.

keytool { javaHome = '/my/java/home' }