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>
@CacheableTask public class ScalaCompile extends AbstractScalaCompile
Task.Namer
LOGGER
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
ScalaCompile() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
assertScalaClasspathIsNonEmpty() |
|
protected org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> |
getCompiler(org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec spec) |
|
FileCollection |
getScalaClasspath() |
Returns the classpath to use to load the Scala compiler.
|
ScalaCompileOptions |
getScalaCompileOptions() |
Returns the Scala compilation options.
|
FileCollection |
getZincClasspath() |
Returns the classpath to use to load the Zinc incremental compiler.
|
void |
setCompiler(org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> compiler) |
For testing only.
|
void |
setScalaClasspath(FileCollection scalaClasspath) |
|
void |
setZincClasspath(FileCollection zincClasspath) |
compile, createSpec, getAnalysisFiles, getAnalysisMappingFile, getEffectiveAnnotationProcessorPath, getJvmVersion, getOptions, getSource
getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, source
conventionMapping, conventionMapping, getConventionMapping
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
public ScalaCompileOptions getScalaCompileOptions()
AbstractScalaCompile
getScalaCompileOptions
in class AbstractScalaCompile
@Classpath public FileCollection getScalaClasspath()
public void setScalaClasspath(FileCollection scalaClasspath)
@Classpath public FileCollection getZincClasspath()
public void setZincClasspath(FileCollection zincClasspath)
public void setCompiler(org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> compiler)
protected org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> getCompiler(org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec spec)
getCompiler
in class AbstractScalaCompile
protected void assertScalaClasspathIsNonEmpty()