|
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 | |
---|---|
String |
bootClasspath
The bootstrap classpath to use when compiling. |
String |
compiler
The compiler to use. |
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. |
String |
encoding
The source encoding name. |
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
Specifies whether the compile task should list the files to be compiled. |
boolean |
optimize
Whether to produce optimized byte code. |
boolean |
useAnt
Whether to use the Ant javac task or Gradle's own Java compiler integration. |
boolean |
useDepend
Specifies whether to use the Ant |
boolean |
verbose
Specifies whether the compile task should produce verbose output. |
boolean |
warnings
Specifies whether to log warning messages. |
Method Summary | |
---|---|
CompileOptions
|
debug(Map debugArgs)
Convenience method to set debug options with named parameter syntax. |
CompileOptions
|
depend(Map dependArgs)
Set the dependency options from a map. |
List
|
excludedFieldsFromOptionMap()
|
Map
|
fieldName2AntMap()
|
Map
|
fieldValue2AntMap()
|
CompileOptions
|
fork(Map forkArgs)
Convenience method to set fork options with named parameter syntax. |
Map
|
optionMap()
|
Methods inherited from class AbstractOptions | |
---|---|
addValueToMapIfNotNull, define, excludedFieldsFromOptionMap, fieldName2AntMap, fieldValue2AntMap, isOptionField, optionMap |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
@Input @Optional String bootClasspath
@Input @Optional String compiler
@Input List compilerArgs
@Input boolean debug
@Nested DebugOptions debugOptions
DependOptions dependOptions
boolean deprecation
@Input @Optional String encoding
@Input @Optional String extensionDirs
@Input boolean failOnError
boolean fork
@Nested ForkOptions forkOptions
@Input boolean includeJavaRuntime
boolean listFiles
@Input boolean optimize
boolean useAnt
boolean useDepend
boolean verbose
boolean warnings
Method Detail |
---|
CompileOptions debug(Map debugArgs)
CompileOptions depend(Map dependArgs)
List excludedFieldsFromOptionMap()
Map fieldName2AntMap()
Map fieldValue2AntMap()
CompileOptions fork(Map forkArgs)
Map optionMap()
Gradle API 1.0-milestone-8