class GroovySettings extends java.lang.Object
Settings class that defines the settings used by the Groovy plugin.
| Type | Name and description |
|---|---|
java.lang.String |
compilerArgumentsAdditional compiler arguments. |
java.lang.String |
docArgumentsAdditional groovydoc arguments. |
java.lang.String |
groovyVersionConfigures the groovy version to use for compilation. |
boolean |
indyDetermines if the compiler should generate code that uses invokedynamic. |
java.util.Map<java.lang.String, java.lang.String> |
jarManifest |
java.lang.String |
javaVersionConfigures the Java version to use for compilation. |
java.lang.String |
jvmArgumentsA list of JVM arguments that are used when invoking groovy or groovyc commands. |
java.util.List<java.util.Map<java.lang.String, java.lang.Object>> |
mainDependenciesThe list of dependencies to include on the classpath when groovyc is called to compile the main Groovy source files. |
java.util.List<java.util.Map<java.lang.String, java.lang.Object>> |
testDependenciesThe list of dependencies to include on the classpath when groovyc is called to compile the test Groovy source files. |
| Constructor and description |
|---|
GroovySettings() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Additional compiler arguments. This are included when groovyc is invoked. Defaults to "".
Additional groovydoc arguments. This are included when groovydoc is invoked. Defaults to "".
Configures the groovy version to use for compilation. This version must be defined in the ~/.savant/plugins/org.savantbuild.plugin.groovy.properties file.
Determines if the compiler should generate code that uses invokedynamic. Defaults to false.
Configures the Java version to use for compilation. This version must be defined in the ~/.savant/plugins/org.savantbuild.plugin.java.properties file.
A list of JVM arguments that are used when invoking groovy or groovyc commands. These are passed to the environment as the env variable JAVA_OPTS.
The list of dependencies to include on the classpath when groovyc is called to compile the main Groovy source files. This defaults to:
[
[group: "compile", transitive: false, fetchSource: false],
[group: "provided", transitive: false, fetchSource: false]
]
The list of dependencies to include on the classpath when groovyc is called to compile the test Groovy source files. This defaults to:
[
[group: "compile", transitive: false, fetchSource: false],
[group: "test-compile", transitive: false, fetchSource: false],
[group: "provided", transitive: false, fetchSource: false]
]