|
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.CompileOptions
class CompileOptions extends AbstractOptions
Property Summary | |
---|---|
java.lang.String |
bootClasspath
The bootstrap classpath to use when compiling. |
java.lang.String |
compiler
The compiler to use. |
java.util.List |
compilerArgs
The arguments to pass to the compiler. |
boolean |
debug
Specifies whether debugging information should be included in the generated .class files. |
DebugOptions |
debugOptions
The options for debugging information generation. |
DependOptions |
dependOptions
The options for using the Ant |
boolean |
deprecation
Specifies whether to log details of usage of deprecated members or classes. |
java.lang.String |
encoding
The source encoding name. |
java.lang.String |
extensionDirs
The extension dirs to use when compiling. |
boolean |
failOnError
Specifies whether the compile task should fail when compilation fails. |
boolean |
fork
Specifies whether to run the compiler in a child process. |
ForkOptions |
forkOptions
The options for running the compiler in a child process. |
boolean |
includeJavaRuntime
|
boolean |
listFiles
|
boolean |
optimize
|
boolean |
useDepend
Specifies whether to use the Ant |
boolean |
verbose
|
boolean |
warnings
Specifies whether to log warning messages. |
Method Summary | |
---|---|
CompileOptions
|
debug(java.util.Map debugArgs)
|
CompileOptions
|
depend(java.util.Map dependArgs)
Set the dependency options from a map. |
java.util.List
|
excludedFieldsFromOptionMap()
|
java.util.Map
|
fieldName2AntMap()
|
java.util.Map
|
fieldValue2AntMap()
|
CompileOptions
|
fork(java.util.Map forkArgs)
|
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(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), 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 @Optional java.lang.String bootClasspath
@Input @Optional java.lang.String compiler
@Input java.util.List compilerArgs
@Input boolean debug
@Nested DebugOptions debugOptions
DependOptions dependOptions
boolean deprecation
@Input @Optional java.lang.String encoding
@Input @Optional java.lang.String extensionDirs
@Input boolean failOnError
boolean fork
@Nested ForkOptions forkOptions
@Input boolean includeJavaRuntime
boolean listFiles
@Input boolean optimize
boolean useDepend
boolean verbose
boolean warnings
Method Detail |
---|
CompileOptions debug(java.util.Map debugArgs)
CompileOptions depend(java.util.Map dependArgs)
java.util.List excludedFieldsFromOptionMap()
java.util.Map fieldName2AntMap()
java.util.Map fieldValue2AntMap()
CompileOptions fork(java.util.Map forkArgs)
java.util.Map optionMap()
Groovy Documentation