CopySpec
AbstractArchiveTask
, AbstractCopyTask
, Copy
, Ear
, Jar
, Jar
, ProcessResources
, Sync
, Tar
, War
, Zip
public interface CopySourceSpec
Modifier and Type | Method | Description |
---|---|---|
CopySourceSpec |
from(Object... sourcePaths) |
Specifies source files or directories for a copy.
|
CopySourceSpec |
from(Object sourcePath,
Closure configureClosure) |
Specifies the source files or directories for a copy and creates a child
CopySourceSpec . |
CopySourceSpec |
from(Object sourcePath,
Action<? super CopySpec> configureAction) |
Specifies the source files or directories for a copy and creates a child
CopySpec . |
CopySourceSpec from(Object... sourcePaths)
Project.files(Object...)
.sourcePaths
- Paths to source files for the copyCopySourceSpec from(Object sourcePath, Closure configureClosure)
CopySourceSpec
. The given source
path is evaluated as per Project.files(Object...)
.sourcePath
- Path to source for the copyconfigureClosure
- closure for configuring the child CopySourceSpecCopySourceSpec from(Object sourcePath, Action<? super CopySpec> configureAction)
CopySpec
. The given source
path is evaluated as per Project.files(Object...)
.sourcePath
- Path to source for the copyconfigureAction
- action for configuring the child CopySpec