Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, PatternFilterable, org.gradle.util.Configurable<Task>PlatformScalaCompile, ScalaCompile@Incubating public abstract class AbstractScalaCompile extends AbstractCompile
Task.Namer| Modifier and Type | Field | Description |
|---|---|---|
protected static Logger |
LOGGER |
sourceTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractScalaCompile(BaseScalaCompileOptions scalaCompileOptions) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
compile() |
|
protected void |
configureIncrementalCompilation(org.gradle.api.internal.tasks.scala.ScalaCompileSpec spec) |
|
protected Map<File,File> |
createOrGetGlobalAnalysisMap() |
|
protected org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec |
createSpec() |
|
protected HashMap<File,File> |
filterForClasspath(Map<File,File> analysisMap,
Iterable<File> classpath) |
|
protected abstract org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> |
getCompiler(org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec spec) |
|
FileCollection |
getEffectiveAnnotationProcessorPath() |
Returns the path to use for annotation processor discovery.
|
CompileOptions |
getOptions() |
Returns the Java compilation options.
|
BaseScalaCompileOptions |
getScalaCompileOptions() |
Returns the Scala compilation options.
|
getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibilityaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, 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, toStringconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, getSource, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceprotected static final Logger LOGGER
protected AbstractScalaCompile(BaseScalaCompileOptions scalaCompileOptions)
public BaseScalaCompileOptions getScalaCompileOptions()
public CompileOptions getOptions()
protected abstract org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> getCompiler(org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec spec)
protected void compile()
compile in class AbstractCompileprotected org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec createSpec()
protected void configureIncrementalCompilation(org.gradle.api.internal.tasks.scala.ScalaCompileSpec spec)
protected HashMap<File,File> filterForClasspath(Map<File,File> analysisMap, Iterable<File> classpath)
@Incubating @Classpath public FileCollection getEffectiveAnnotationProcessorPath()
You can specify this path using CompileOptions.setAnnotationProcessorPath(FileCollection) or CompileOptions.setCompilerArgs(java.util.List). When not explicitly set using one of the methods on CompileOptions, the compile classpath will be used when there are annotation processors present in the compile classpath. Otherwise this path will be empty.
This path is always empty when annotation processing is disabled.