Compiles Scala source files, and optionally, Java source files.
Constructor and description |
---|
ScalaCompile
() |
Type | Name and description |
---|---|
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 | Name |
---|---|
class AbstractCompile |
compile, getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setSourceCompatibility, setTargetCompatibility |
Returns the Java compilation options.
Returns the classpath to use to load the Scala compiler.
Returns the Scala compilation options.
Returns the classpath to use to load the Zinc incremental compiler. This compiler in turn loads the Scala compiler.