|
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 | |
---|---|
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 | |
---|---|
List
|
excludedFieldsFromOptionMap()
|
Map
|
fieldName2AntMap()
|
GroovyCompileOptions
|
fork(Map forkArgs)
Shortcut for setting both fork and forkOptions. |
Map
|
optionMap()
|
Methods inherited from class AbstractOptions | |
---|---|
addValueToMapIfNotNull, define, excludedFieldsFromOptionMap, fieldName2AntMap, fieldValue2AntMap, isOptionField, optionMap |
Property Detail |
---|
@Input String encoding
boolean failOnError
boolean fork
GroovyForkOptions forkOptions
@Input boolean includeJavaRuntime
boolean listFiles
boolean stacktrace
boolean verbose
Method Detail |
---|
List excludedFieldsFromOptionMap()
Map fieldName2AntMap()
GroovyCompileOptions fork(Map forkArgs)
forkArgs
- fork options in map notation
Map optionMap()
Gradle API 1.0-milestone-9