public abstract class AbstractCompile extends SourceTask
Task.NamersourceTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description | 
|---|
| AbstractCompile() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract void | compile() | 
| FileCollection | getClasspath()Returns the classpath to use to compile the source files. | 
| File | getDestinationDir()Returns the directory to generate the  .classfiles into. | 
| String | getSourceCompatibility()Returns the Java language level to use to compile the source files. | 
| String | getTargetCompatibility()Returns the target JVM to generate the  .classfiles for. | 
| void | setClasspath(FileCollection configuration)Sets the classpath to use to compile the source files. | 
| void | setDestinationDir(File destinationDir)Sets the directory to generate the  .classfiles into. | 
| void | setSourceCompatibility(String sourceCompatibility)Sets the Java language level to use to compile the source files. | 
| void | setTargetCompatibility(String targetCompatibility)Sets the target JVM to generate the  .classfiles for. | 
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, getSource, include, include, include, include, setExcludes, setIncludes, setSource, sourceconventionMapping, conventionMapping, getConventionMappingaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringprotected abstract void compile()
@Classpath public FileCollection getClasspath()
public void setClasspath(FileCollection configuration)
configuration - The classpath. Must not be null, but may be empty.@OutputDirectory public File getDestinationDir()
.class files into.public void setDestinationDir(File destinationDir)
.class files into.destinationDir - The destination directory. Must not be null.@Input public String getSourceCompatibility()
public void setSourceCompatibility(String sourceCompatibility)
sourceCompatibility - The source language level. Must not be null.@Input public String getTargetCompatibility()
.class files for.public void setTargetCompatibility(String targetCompatibility)
.class files for.targetCompatibility - The target JVM. Must not be null.