@Incubating abstract class AbstractScalaCompile : AbstractCompile
An abstract Scala compile task sharing common functionality for compiling scala.
open fun getEffectiveAnnotationProcessorPath(): FileCollection
Returns the path to use for annotation processor discovery. Returns an empty collection when no processing should be performed, for example when no annotation processors are present in the compile classpath or annotation processing has been disabled. You can specify this path using This path is always empty when annotation processing is disabled. |
|
open fun getOptions(): CompileOptions
Returns the Java compilation options. |
|
open fun getScalaCompileOptions(): BaseScalaCompileOptions
Returns the Scala compilation options. |
|
open fun getSource(): FileTree
{@inheritDoc} |
open fun getClasspath(): FileCollection
Returns the classpath to use to compile the source files. |
|
open fun getDestinationDir(): File
Returns the directory to generate the |
|
open fun getSourceCompatibility(): String
Returns the Java language level to use to compile the source files. |
|
open fun getTargetCompatibility(): String
Returns the target JVM to generate the |
|
open fun setClasspath(configuration: FileCollection): Unit
Sets the classpath to use to compile the source files. |
|
open fun setDestinationDir(destinationDir: File): Unit open fun setDestinationDir(destinationDir: Provider<File>): Unit
Sets the directory to generate the |
|
open fun setSourceCompatibility(sourceCompatibility: String): Unit
Sets the Java language level to use to compile the source files. |
|
open fun setTargetCompatibility(targetCompatibility: String): Unit
Sets the target JVM to generate the |
open class PlatformScalaCompile : AbstractScalaCompile
A platform-aware Scala compile task. |
|
open class ScalaCompile : AbstractScalaCompile
Compiles Scala source files, and optionally, Java source files. |