|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface JavaEnvironment
Informs about the java environment, for example the java home or the jvm args used.
See example in BuildEnvironment
Method Summary | |
---|---|
File
|
getJavaHome()
The java home used for gradle operations (e.g. running tasks or acquiring model information, etc). |
List
|
getJvmArguments()
The jvm arguments used for the java process that handles gradle operations (e.g. running tasks or acquiring model information, etc). |
Method Detail |
---|
public File getJavaHome()
public List getJvmArguments()
The returned jvm arguments match those returned by java.lang.management.ManagementFactory.runtimeMXBean.inputArguments, e.g. they do not include system properties passed as -Dfoo=bar
Gradle API 1.0-milestone-8