|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.tasks.SourceTask
org.gradle.api.tasks.compile.AbstractCompile
org.gradle.api.tasks.scala.ScalaCompile
public class ScalaCompile extends AbstractCompile
Compiles Scala source files, and optionally, Java source files.
Field Summary |
---|
Fields inherited from class SourceTask | |
---|---|
source |
Constructor Summary | |
ScalaCompile()
|
Method Summary | |
---|---|
protected void
|
compile()
|
CompileOptions
|
getOptions()
Returns the Java compilation options. |
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
|
setScalaClasspath(FileCollection scalaClasspath)
|
void
|
setZincClasspath(FileCollection zincClasspath)
|
Methods inherited from class AbstractCompile | |
---|---|
compile, getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setSourceCompatibility, setTargetCompatibility |
Methods inherited from class SourceTask | |
---|---|
exclude, exclude, exclude, exclude, getDefaultSource, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes, setSource, source |
Constructor Detail |
---|
@Inject public ScalaCompile()
Method Detail |
---|
@TaskAction protected void compile()
@Nested public CompileOptions getOptions()
@InputFiles public FileCollection getScalaClasspath()
@Nested public ScalaCompileOptions getScalaCompileOptions()
@InputFiles public FileCollection getZincClasspath()
public void setScalaClasspath(FileCollection scalaClasspath)
public void setZincClasspath(FileCollection zincClasspath)
Gradle API 1.12