@CacheableTask open class GroovyCompile : AbstractCompile
Compiles Groovy source files, and optionally, Java source files.
GroovyCompile() |
open fun getCompiler(): Compiler |
|
open fun getGroovyClasspath(): FileCollection
Returns the classpath containing the version of Groovy to use for compilation. |
|
open fun getGroovyOptions(): GroovyCompileOptions
Gets the options for the Groovy compilation. To set specific options for the nested Java compilation, use |
|
open fun getOptions(): CompileOptions
Returns the options for Java compilation. |
|
open fun getSource(): FileTree
{@inheritDoc} |
|
open fun setCompiler(compiler: Compiler): Unit |
|
open fun setGroovyClasspath(groovyClasspath: FileCollection): Unit
Sets the classpath containing the version of Groovy to use for compilation. |
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 |