abstract class AbstractCompile : SourceTask
The base class for all JVM-based language compilation tasks.
AbstractCompile() |
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 fun exclude(vararg excludes: String): SourceTask open fun exclude(excludes: MutableIterable<String>): SourceTask open fun exclude(excludeSpec: Spec<FileTreeElement>): SourceTask open fun exclude(excludeSpec: Closure<Any>): SourceTask
{@inheritDoc} |
|
open fun getExcludes(): MutableSet<String>
{@inheritDoc} |
|
open fun getIncludes(): MutableSet<String>
{@inheritDoc} |
|
open fun getSource(): FileTree
Returns the source for this task, after the include and exclude patterns have been applied. Ignores source files which do not exist. |
|
open fun include(vararg includes: String): SourceTask open fun include(includes: MutableIterable<String>): SourceTask open fun include(includeSpec: Spec<FileTreeElement>): SourceTask open fun include(includeSpec: Closure<Any>): SourceTask
{@inheritDoc} |
|
open fun setExcludes(excludes: MutableIterable<String>): SourceTask
{@inheritDoc} |
|
open fun setIncludes(includes: MutableIterable<String>): SourceTask
{@inheritDoc} |
|
open fun setSource(source: FileTree): Unit
Sets the source for this task. open fun setSource(source: Any): Unit
Sets the source for this task. The given source object is evaluated as per |
|
open fun source(vararg sources: Any): SourceTask
Adds some source to this task. The given source objects will be evaluated as per |
abstract class AbstractScalaCompile : AbstractCompile
An abstract Scala compile task sharing common functionality for compiling scala. |
|
open class GroovyCompile : AbstractCompile
Compiles Groovy source files, and optionally, Java source files. |
|
open class JavaCompile : AbstractCompile
Compiles Java source files.
|