|
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 to start 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 that were used to start the java process. They do not include system properties passed as -Dfoo=bar. They may include the implicitly immutable system properties like "file.encoding".
Gradle API 1.0