@CacheableTask public class ScalaCompile extends AbstractScalaCompile
Task.NamerLOGGERsourceTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
ScalaCompile() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertScalaClasspathIsNonEmpty() |
protected void |
configureIncrementalCompilation(org.gradle.api.internal.tasks.scala.ScalaCompileSpec spec) |
protected org.gradle.language.base.internal.compile.Compiler<org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec> |
getCompiler(org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec spec) |
protected String |
getJvmVersion()
The Java major version of the JVM the Scala compiler is running on.
|
FileCollection |
getScalaClasspath()
Returns the classpath to use to load the Scala compiler.
|
ScalaCompileOptions |
getScalaCompileOptions()
Returns the Scala compilation options.
|
FileTree |
getSource()
Returns the source for this task, after the include and exclude patterns have been applied.
|
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, createOrGetGlobalAnalysisMap, createSpec, filterForClasspath, getEffectiveAnnotationProcessorPath, getOptionsgetClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibilityexclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, 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, toStringpublic ScalaCompileOptions getScalaCompileOptions()
AbstractScalaCompilegetScalaCompileOptions in class AbstractScalaCompile@Classpath public FileCollection getScalaClasspath()
@PathSensitive(value=NAME_ONLY) public FileTree getSource()
getSource in class SourceTaskpublic void setScalaClasspath(FileCollection scalaClasspath)
@Classpath public FileCollection getZincClasspath()
public void setZincClasspath(FileCollection zincClasspath)
@Incubating @Input protected String getJvmVersion()
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 AbstractScalaCompileprotected void configureIncrementalCompilation(org.gradle.api.internal.tasks.scala.ScalaCompileSpec spec)
configureIncrementalCompilation in class AbstractScalaCompileprotected void assertScalaClasspathIsNonEmpty()