|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.file.CopySourceSpecorg.gradle.api.file.CopySpec
interface CopySpec extends CopySourceSpec
A set of specifications for copying files. This includes:
into('webroot') exclude('**/.svn/**') from('src/main/webapp') { include '**/*.jsp' } from('src/main/js') { include '**/*.js' }In this example, the
into
and exclude
specifications at the
root level are inherited by the two child CopySpecs.
Method Summary | |
---|---|
CopySpec
|
exclude(java.lang.String excludes)
{ |
CopySpec
|
exclude(java.lang.Iterable excludes)
{ |
CopySpec
|
filter(Map map, java.lang.Class filterType)
{ |
CopySpec
|
filter(java.lang.Class filterType)
{ |
CopySpec
|
filter(Closure closure)
{ |
CopySpec
|
from(java.lang.Object sourcePaths)
{ |
CopySpec
|
from(java.lang.Object sourcePath, Closure c)
{ |
CopySpec
|
include(java.lang.String includes)
{ |
CopySpec
|
include(java.lang.Iterable includes)
{ |
CopySpec
|
into(java.lang.Object destPath)
{ |
CopySpec
|
remapTarget(Closure closure)
{ |
CopySpec
|
rename(java.lang.String sourceRegEx, java.lang.String replaceWith)
{ |
CopySpec
|
setExcludes(java.lang.Iterable excludes)
{ |
CopySpec
|
setIncludes(java.lang.Iterable includes)
{ |
Methods inherited from interface CopySourceSpec | |
---|---|
from, from |
Method Detail |
---|
public CopySpec exclude(java.lang.String excludes)
public CopySpec exclude(java.lang.Iterable excludes)
public CopySpec filter(Map map, java.lang.Class filterType)
public CopySpec filter(java.lang.Class filterType)
public CopySpec filter(Closure closure)
public CopySpec from(java.lang.Object sourcePaths)
public CopySpec from(java.lang.Object sourcePath, Closure c)
public CopySpec include(java.lang.String includes)
public CopySpec include(java.lang.Iterable includes)
public CopySpec into(java.lang.Object destPath)
public CopySpec remapTarget(Closure closure)
public CopySpec rename(java.lang.String sourceRegEx, java.lang.String replaceWith)
public CopySpec setExcludes(java.lang.Iterable excludes)
public CopySpec setIncludes(java.lang.Iterable includes)
Groovy Documentation