java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, org.gradle.api.internal.tasks.compile.HasCompileOptions, ExtensionAware, Task, PatternFilterable, Configurable<Task>@CacheableTask public class ScalaCompile extends AbstractScalaCompile
Task.NamerLOGGERTASK_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.api.internal.tasks.scala.ScalaJavaJointCompileSpec |
createSpec() |
|
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 |
getScalaCompilerPlugins() |
Returns the Scala compiler plugins to use.
|
protected org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionParser |
getVersionParser() |
|
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 |
setScalaCompilerPlugins(FileCollection scalaCompilerPlugins) |
Sets the Scala compiler plugins to use.
|
void |
setZincClasspath(FileCollection zincClasspath) |
compile, getAnalysisFiles, getAnalysisMappingFile, getDeleter, getJavaLauncher, getJvmVersion, getObjectFactory, getOptions, getProjectLayout, getSource, getToolchaingetClasspath, getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibilityexclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSet, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCache@Inject protected org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionParser getVersionParser()
public ScalaCompileOptions getScalaCompileOptions()
AbstractScalaCompilegetScalaCompileOptions in class AbstractScalaCompile@Classpath public FileCollection getScalaClasspath()
public void setScalaClasspath(FileCollection scalaClasspath)
@Classpath public FileCollection getScalaCompilerPlugins()
public void setScalaCompilerPlugins(FileCollection scalaCompilerPlugins)
scalaCompilerPlugins - Collection of Scala compiler plugins.protected org.gradle.api.internal.tasks.scala.ScalaJavaJointCompileSpec createSpec()
createSpec in class AbstractScalaCompile@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 AbstractScalaCompileprotected void assertScalaClasspathIsNonEmpty()