Compiles Java source files.
apply plugin: 'java' compileJava { //enable compilation in a separate daemon process options.fork = true }
Type | Name and description |
---|---|
protected void |
compile(IncrementalTaskInputs inputs) |
protected void |
compile() |
File |
getDependencyCacheDir() |
CompileOptions |
getOptions() Returns the compilation options. |
void |
setDependencyCacheDir(File dependencyCacheDir) |
Methods inherited from class | Name |
---|---|
class AbstractCompile |
compile, getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setSourceCompatibility, setTargetCompatibility |
Returns the compilation options.