Compile Options
Main options for Java compilation.
Functions
Link copied to clipboard
Execute the given action against getDebugOptions.
Link copied to clipboard
Execute the given action against getForkOptions.
Link copied to clipboard
Returns all compiler arguments, added to the getCompilerArgs or the getCompilerArgumentProviders property.
Link copied to clipboard
Returns the classpath to use to load annotation processors.
Link copied to clipboard
Returns the bootstrap classpath to be used for the compiler process.
Link copied to clipboard
Returns any additional arguments to be passed to the compiler.
Link copied to clipboard
Compiler argument providers.
Link copied to clipboard
Returns options for generating debugging information.
Link copied to clipboard
Tells whether to log details of usage of deprecated members or classes.
Link copied to clipboard
Returns the character encoding to be used when reading source files.
Link copied to clipboard
Returns the extension dirs to be used for the compiler process.
Link copied to clipboard
Sets whether to fail the build when compilation fails.
Link copied to clipboard
Returns options for running the compiler in a child process.
Link copied to clipboard
Returns the directory to place source files generated by annotation processors.
Link copied to clipboard
If this option is set to a non-null directory, it will be passed to the Java compiler's `-h` option, prompting it to generate native headers to that directory.
Link copied to clipboard
informs whether to use incremental compilation feature.
Link copied to clipboard
Used to enable or disable incremental compilation after a failure.
Link copied to clipboard
Sets whether to include debugging information in the generated class files.
Link copied to clipboard
Sets whether to log details of usage of deprecated members or classes.
Link copied to clipboard
Link copied to clipboard
Sets whether to run the compiler in its own process.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets whether to log warning messages.
Link copied to clipboard
Set the main class of the Java module, if the module is supposed to be executable.
Link copied to clipboard
Set the version of the Java module.
Link copied to clipboard
Tells whether to log the files to be compiled.
Link copied to clipboard
Configures the Java language version for this compile task (
--release compiler flag).Link copied to clipboard
The source path to use for the compilation.
Link copied to clipboard
Tells whether to produce verbose output.
Link copied to clipboard
Tells whether to log warning messages.
Link copied to clipboard
Set the classpath to use to load annotation processors.
Link copied to clipboard
Sets the bootstrap classpath to be used for the compiler process.
Link copied to clipboard
Sets any additional arguments to be passed to the compiler.
Link copied to clipboard
Sets whether to log details of usage of deprecated members or classes.
Link copied to clipboard
Sets the character encoding to be used when reading source files.
Link copied to clipboard
Sets the extension dirs to be used for the compiler process.
Link copied to clipboard
Sets whether to fail the build when compilation fails.
Link copied to clipboard
Configure the java compilation to be incremental (e.g.
Link copied to clipboard
Sets whether to log the files to be compiled.
Link copied to clipboard
Sets the source path to use for the compilation.
Link copied to clipboard
Sets whether to produce verbose output.
Link copied to clipboard
Sets whether to log warning messages.