|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.compile.Compile
org.gradle.api.tasks.compile.GroovyCompile
class GroovyCompile extends Compile
Field Summary |
---|
Fields inherited from class Compile | |
---|---|
antCompile, existentDirsFilter |
Constructor Summary | |
GroovyCompile(Project project, java.lang.String name)
|
Method Summary | |
---|---|
protected void
|
compile(Task task)
|
AntGroovyc
|
getAntGroovyCompile()
|
FileCollection
|
getGroovyClasspath()
|
List
|
getGroovyExcludes()
Returns the exclude patterns for which groovy files should be compiled. |
List
|
getGroovyIncludes()
Return the include patterns for which groovy files should be compiled. |
List
|
getGroovyJavaExcludes()
Returns the exclude patterns for which java files in the joint source folder should be compiled. |
List
|
getGroovyJavaIncludes()
Returns the exclude patterns for which java files in the joint source folder should be compiled. |
GroovyCompileOptions
|
getGroovyOptions()
Gets the options for the groovyc compilation. |
List
|
getGroovySourceDirs()
|
GroovyCompile
|
groovyExclude(java.lang.String groovyExcludes)
Adds exclude patterns for which groovy files should be compiled (e.g. '**F;org/gradle/package2/A*.groovy'). |
GroovyCompile
|
groovyInclude(java.lang.String groovyIncludes)
Adds include pattern for which groovy files should be compiled (e.g. '**F;org/gradle/package1/')). |
GroovyCompile
|
groovyJavaExclude(java.lang.String groovyJavaExcludes)
Add exclude patterns for which java files in the joint source folder should be compiled (e.g. '**F;org/gradle/package2/A*.java'). |
GroovyCompile
|
groovyJavaInclude(java.lang.String groovyJavaIncludes)
Adds include patterns for which java files in the joint source folder should be compiled (e.g. '**F;org/gradle/package1/')). |
void
|
setAntGroovyCompile(AntGroovyc antGroovyCompile)
|
void
|
setGroovyClasspath(FileCollection groovyClasspath)
|
void
|
setGroovyExcludes(List groovyExcludes)
Sets the exclude patterns for which groovy files should be compiled. |
void
|
setGroovyIncludes(List groovyIncludes)
Sets the include patterns for which groovy files should be compiled. |
void
|
setGroovyJavaExcludes(List groovyJavaExcludes)
Sets excludes patterns for which java files in the joint source folder should be compiled |
void
|
setGroovyJavaIncludes(List groovyJavaIncludes)
Sets include patterns for which java files in the joint source folder should be compiled. |
void
|
setGroovyOptions(GroovyCompileOptions groovyOptions)
Sets the options for the groovyc compilation. |
void
|
setGroovySourceDirs(List groovySourceDirs)
|
Methods inherited from class Compile | |
---|---|
compile, exclude, exclude, getClasspath, getDestinationDir, getExcludes, getIncludes, getOptions, getSourceCompatibility, getSrcDirs, getTargetCompatibility, include, include, setClasspath, setDestinationDir, setExcludes, setIncludes, setOptions, setSourceCompatibility, setSrcDirs, setTargetCompatibility |
Methods inherited from class ConventionTask | |
---|---|
conv, conventionMapping, conventionMapping, conventionProperty, getConventionAwareHelper, getConventionMapping, setConventionAwareHelper, setConventionMapping |
Methods inherited from class DefaultTask | |
---|---|
leftShift, methodMissing, propertyMissing |
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Constructor Detail |
---|
public GroovyCompile(Project project, java.lang.String name)
Method Detail |
---|
protected void compile(Task task)
public AntGroovyc getAntGroovyCompile()
public FileCollection getGroovyClasspath()
public List getGroovyExcludes()
public List getGroovyIncludes()
public List getGroovyJavaExcludes()
public List getGroovyJavaIncludes()
public GroovyCompileOptions getGroovyOptions()
public List getGroovySourceDirs()
public GroovyCompile groovyExclude(java.lang.String groovyExcludes)
public GroovyCompile groovyInclude(java.lang.String groovyIncludes)
public GroovyCompile groovyJavaExclude(java.lang.String groovyJavaExcludes)
public GroovyCompile groovyJavaInclude(java.lang.String groovyJavaIncludes)
public void setAntGroovyCompile(AntGroovyc antGroovyCompile)
public void setGroovyClasspath(FileCollection groovyClasspath)
public void setGroovyExcludes(List groovyExcludes)
public void setGroovyIncludes(List groovyIncludes)
public void setGroovyJavaExcludes(List groovyJavaExcludes)
public void setGroovyJavaIncludes(List groovyJavaIncludes)
public void setGroovyOptions(GroovyCompileOptions groovyOptions)
public void setGroovySourceDirs(List groovySourceDirs)
Groovy Documentation