|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.gradle.api.tasks.compile.AbstractOptions org.gradle.api.tasks.compile.GroovyCompileOptions
class GroovyCompileOptions extends AbstractOptions
Compilation options to be passed to the Groovy compiler.
Property Summary | |
---|---|
java.lang.String |
encoding
The source encoding. |
boolean |
failOnError
Tells whether the compilation task should fail if compile errors occurred. |
boolean |
fork
Tells whether to run the Groovy compiler in a separate process. |
GroovyForkOptions |
forkOptions
Options for running the Groovy compiler in a separate process. |
boolean |
includeJavaRuntime
Tells whether the Java runtime should be put on the compiler's compile class path. |
boolean |
listFiles
Tells whether to print which source files are to be compiled. |
boolean |
stacktrace
Tells whether to print a stack trace when the compiler hits a problem (like a compile error). |
boolean |
verbose
Tells whether to turn on verbose output. |
Method Summary | |
---|---|
java.util.List
|
excludedFieldsFromOptionMap()
|
java.util.Map
|
fieldName2AntMap()
|
GroovyCompileOptions
|
fork(java.util.Map forkArgs)
Shortcut for setting both fork and forkOptions. |
java.util.Map
|
optionMap()
|
Methods inherited from class AbstractOptions | |
---|---|
addValueToMapIfNotNull, define, excludedFieldsFromOptionMap, fieldName2AntMap, fieldValue2AntMap, isOptionField, optionMap |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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() |
Property Detail |
---|
@Input java.lang.String encoding
boolean failOnError
boolean fork
GroovyForkOptions forkOptions
@Input boolean includeJavaRuntime
boolean listFiles
boolean stacktrace
boolean verbose
Method Detail |
---|
java.util.List excludedFieldsFromOptionMap()
java.util.Map fieldName2AntMap()
GroovyCompileOptions fork(java.util.Map forkArgs)
forkArgs
- fork options in map notation
java.util.Map optionMap()
Groovy Documentation