|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.SourceTask
public class SourceTask extends ConventionTask
A SourceTask performs some operation on source files.
Method Summary | |
---|---|
SourceTask
|
exclude(java.lang.String excludes)
{@inheritDoc} |
SourceTask
|
exclude(java.lang.Iterable excludes)
{@inheritDoc} |
SourceTask
|
exclude(Spec excludeSpec)
{@inheritDoc} |
SourceTask
|
exclude(groovy.lang.Closure excludeSpec)
{@inheritDoc} |
protected FileTree
|
getDefaultSource()
Returns the default source for this task, if any. |
java.util.Set
|
getExcludes()
{@inheritDoc} |
java.util.Set
|
getIncludes()
{@inheritDoc} |
FileTree
|
getSource()
Returns the source for this task, after the include and exclude patterns have been applied. |
SourceTask
|
include(java.lang.String includes)
{@inheritDoc} |
SourceTask
|
include(java.lang.Iterable includes)
{@inheritDoc} |
SourceTask
|
include(Spec includeSpec)
{@inheritDoc} |
SourceTask
|
include(groovy.lang.Closure includeSpec)
{@inheritDoc} |
SourceTask
|
setExcludes(java.lang.Iterable excludes)
{@inheritDoc} |
SourceTask
|
setIncludes(java.lang.Iterable includes)
{@inheritDoc} |
void
|
setSource(java.lang.Object source)
Sets the source for this task. |
SourceTask
|
source(java.lang.Object sources)
Adds some source to this task. |
Method Detail |
---|
public SourceTask exclude(java.lang.String excludes)
public SourceTask exclude(java.lang.Iterable excludes)
public SourceTask exclude(Spec excludeSpec)
public SourceTask exclude(groovy.lang.Closure excludeSpec)
protected FileTree getDefaultSource()
public java.util.Set getExcludes()
public java.util.Set getIncludes()
@InputFiles @SkipWhenEmpty public FileTree getSource()
public SourceTask include(java.lang.String includes)
public SourceTask include(java.lang.Iterable includes)
public SourceTask include(Spec includeSpec)
public SourceTask include(groovy.lang.Closure includeSpec)
public SourceTask setExcludes(java.lang.Iterable excludes)
public SourceTask setIncludes(java.lang.Iterable includes)
public void setSource(java.lang.Object source)
source
- The source.
public SourceTask source(java.lang.Object sources)
sources
- The source to add
Groovy Documentation