org.gradle.api.tasks.compile
Class GroovyCompile

java.lang.Object
  extended by org.gradle.api.internal.AbstractTask
      extended by org.gradle.api.DefaultTask
          extended by org.gradle.api.internal.ConventionTask
              extended by org.gradle.api.tasks.SourceTask
                  extended by org.gradle.api.tasks.compile.Compile
                      extended by org.gradle.api.tasks.compile.GroovyCompile
All Implemented Interfaces:
groovy.lang.GroovyObject, java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Task, PatternFilterable

public class GroovyCompile
extends Compile


Field Summary
 
Fields inherited from class org.gradle.api.tasks.compile.Compile
antCompile
 
Fields inherited from interface org.gradle.api.Task
AUTOSKIP_PROPERTY_PREFIX, TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
 
Constructor Summary
GroovyCompile()
           
 
Method Summary
protected  void compile()
           
 org.gradle.api.tasks.compile.AntGroovyc getAntGroovyCompile()
           
 FileCollection getGroovyClasspath()
           
 org.gradle.api.tasks.compile.GroovyCompileOptions getGroovyOptions()
          Gets the options for the groovyc compilation.
 void setAntGroovyCompile(org.gradle.api.tasks.compile.AntGroovyc antGroovyCompile)
           
 void setGroovyClasspath(FileCollection groovyClasspath)
           
 void setGroovyOptions(org.gradle.api.tasks.compile.GroovyCompileOptions groovyOptions)
          Sets the options for the groovyc compilation.
 
Methods inherited from class org.gradle.api.tasks.compile.Compile
getClasspath, getDependencyCacheDir, getDestinationDir, getOptions, getSourceCompatibility, getTargetCompatibility, setAntCompile, setClasspath, setDependencyCacheDir, setDestinationDir, setOptions, setSourceCompatibility, setTargetCompatibility
 
Methods inherited from class org.gradle.api.tasks.SourceTask
exclude, exclude, getDefaultSource, getExcludes, getIncludes, getSource, include, include, setExcludes, setIncludes, setSource, source
 
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, getConventionMapping, setConventionMapping
 
Methods inherited from class org.gradle.api.DefaultTask
configure, doFirst, doLast, leftShift
 
Methods inherited from class org.gradle.api.internal.AbstractTask
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getOutput, getPath, getProject, getStandardOutputCapture, getTaskDependencies, hashCode, hasProperty, injectIntoNextInstance, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setOutputHandler, setProject, setProperty, setStandardOutputCapture, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface groovy.lang.GroovyObject
getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty
 

Constructor Detail

GroovyCompile

public GroovyCompile()
Method Detail

compile

protected void compile()
Overrides:
compile in class Compile

getGroovyOptions

public org.gradle.api.tasks.compile.GroovyCompileOptions getGroovyOptions()
Gets the options for the groovyc compilation. To set specific options for the nested javac compilation, use Compile.getOptions().


setGroovyOptions

public void setGroovyOptions(org.gradle.api.tasks.compile.GroovyCompileOptions groovyOptions)
Sets the options for the groovyc compilation. To set specific options for the nested javac compilation, use Compile.getOptions(). Usually you don't set the options, but you modify the existing instance provided by getGroovyOptions()

Parameters:
groovyOptions -

getGroovyClasspath

public FileCollection getGroovyClasspath()

setGroovyClasspath

public void setGroovyClasspath(FileCollection groovyClasspath)

getAntGroovyCompile

public org.gradle.api.tasks.compile.AntGroovyc getAntGroovyCompile()

setAntGroovyCompile

public void setAntGroovyCompile(org.gradle.api.tasks.compile.AntGroovyc antGroovyCompile)