public class GroovyCompile extends AbstractCompile
Task.Namer
source
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
GroovyCompile() |
Modifier and Type | Method and Description |
---|---|
protected void |
compile() |
org.gradle.api.internal.tasks.compile.Compiler<org.gradle.api.internal.tasks.compile.GroovyJavaJointCompileSpec> |
getCompiler() |
FileCollection |
getGroovyClasspath()
Returns the classpath containing the version of Groovy to use for compilation.
|
GroovyCompileOptions |
getGroovyOptions()
Gets the options for the Groovy compilation.
|
CompileOptions |
getOptions()
Returns the options for Java compilation.
|
void |
setCompiler(org.gradle.api.internal.tasks.compile.Compiler<org.gradle.api.internal.tasks.compile.GroovyJavaJointCompileSpec> compiler) |
void |
setGroovyClasspath(FileCollection groovyClasspath)
Sets the classpath containing the version of Groovy to use for compilation.
|
getClasspath, getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setSourceCompatibility, setTargetCompatibility
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getSource, include, include, include, include, setExcludes, setIncludes, setSource, source
conventionMapping, conventionMapping, getConventionMapping
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected void compile()
compile
in class AbstractCompile
public GroovyCompileOptions getGroovyOptions()
getOptions()
.public CompileOptions getOptions()
@InputFiles public FileCollection getGroovyClasspath()
public void setGroovyClasspath(FileCollection groovyClasspath)
groovyClasspath
- The classpath. Must not be null.public org.gradle.api.internal.tasks.compile.Compiler<org.gradle.api.internal.tasks.compile.GroovyJavaJointCompileSpec> getCompiler()
public void setCompiler(org.gradle.api.internal.tasks.compile.Compiler<org.gradle.api.internal.tasks.compile.GroovyJavaJointCompileSpec> compiler)