|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectConventionTask
org.gradle.api.tasks.compile.Compile
org.gradle.api.tasks.compile.GroovyCompile
public class GroovyCompile
| Field Summary |
|---|
| Fields inherited from class org.gradle.api.tasks.compile.Compile |
|---|
antCompile, classpathConverter, existentDirsFilter |
| Constructor Summary | |
|---|---|
GroovyCompile(Project project,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
protected void |
compile(Task task)
|
AntGroovyc |
getAntGroovyCompile()
|
java.util.List |
getGroovyClasspath()
|
java.util.List |
getGroovyExcludes()
Returns the exclude patterns for which groovy files should be compiled. |
java.util.List |
getGroovyIncludes()
Return the include patterns for which groovy files should be compiled. |
java.util.List |
getGroovyJavaExcludes()
Returns the include patterns for which java files in the joint source folder should be compiled. |
java.util.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. |
java.util.List |
getGroovySourceDirs()
|
GroovyCompile |
groovyExclude(java.lang.String... groovyExcludes)
Adds exclude patterns for which groovy files should be compiled (e.g. |
GroovyCompile |
groovyInclude(java.lang.String... groovyIncludes)
Adds include pattern for which groovy files should be compiled (e.g. |
GroovyCompile |
groovyJavaExclude(java.lang.String... groovyJavaExcludes)
Add exclude patterns for which java files in the joint source folder should be compiled (e.g. |
GroovyCompile |
groovyJavaInclude(java.lang.String... groovyJavaIncludes)
Adds include patterns for which java files in the joint source folder should be compiled (e.g. |
void |
setAntGroovyCompile(AntGroovyc antGroovyCompile)
|
void |
setGroovyClasspath(java.util.List groovyClasspath)
|
void |
setGroovyExcludes(java.util.List groovyExcludes)
Sets the exclude patterns for which groovy files should be compiled. |
void |
setGroovyIncludes(java.util.List groovyIncludes)
Sets the include patterns for which groovy files should be compiled. |
void |
setGroovyJavaExcludes(java.util.List groovyJavaExcludes)
Sets include patterns for which java files in the joint source folder should be compiled |
void |
setGroovyJavaIncludes(java.util.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(java.util.List groovySourceDirs)
|
| Methods inherited from class org.gradle.api.tasks.compile.Compile |
|---|
exclude, getClasspath, getDependencyManager, getDestinationDir, getExcludes, getIncludes, getOptions, getSourceCompatibility, getSrcDirs, getTargetCompatibility, getUnmanagedClasspath, include, setDependencyManager, setDestinationDir, setExcludes, setIncludes, setOptions, setSourceCompatibility, setSrcDirs, setTargetCompatibility, setUnmanagedClasspath, unmanagedClasspath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroovyCompile(Project project,
java.lang.String name)
| Method Detail |
|---|
protected void compile(Task task)
compile in class Compilepublic GroovyCompileOptions getGroovyOptions()
Compile.getOptions().
public void setGroovyOptions(GroovyCompileOptions groovyOptions)
Compile.getOptions(). Usually you don't set the options, but you modify the existing instance
provided by getGroovyOptions()
groovyOptions - public GroovyCompile groovyInclude(java.lang.String... groovyIncludes)
groovyIncludes - The include patterns
public GroovyCompile groovyExclude(java.lang.String... groovyExcludes)
groovyExcludes - The exclude patterns
public GroovyCompile groovyJavaInclude(java.lang.String... groovyJavaIncludes)
groovyJavaIncludes - The include patternspublic GroovyCompile groovyJavaExclude(java.lang.String... groovyJavaExcludes)
groovyJavaExcludes - The exclude patternspublic java.util.List getGroovyClasspath()
public void setGroovyClasspath(java.util.List groovyClasspath)
public AntGroovyc getAntGroovyCompile()
public void setAntGroovyCompile(AntGroovyc antGroovyCompile)
public java.util.List getGroovySourceDirs()
public void setGroovySourceDirs(java.util.List groovySourceDirs)
public java.util.List getGroovyIncludes()
public void setGroovyIncludes(java.util.List groovyIncludes)
groovyIncludes - The patterns to includegroovyInclude(String[])public java.util.List getGroovyExcludes()
public void setGroovyExcludes(java.util.List groovyExcludes)
groovyExcludes - The patterns to excludegroovyExclude(String[])public java.util.List getGroovyJavaIncludes()
public void setGroovyJavaIncludes(java.util.List groovyJavaIncludes)
groovyJavaIncludes - The exclude patternThe include patternspublic java.util.List getGroovyJavaExcludes()
public void setGroovyJavaExcludes(java.util.List groovyJavaExcludes)
groovyJavaExcludes - The exclude patternThe exclude patterns
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||