AbstractArchiveTask, AbstractCopyTask, Copy, Ear, Jar, Jar, ProcessResources, Sync, Tar, War, Zippublic interface CopySourceSpec
| Modifier and Type | Method | Description |
|---|---|---|
CopySourceSpec |
from(java.lang.Object... sourcePaths) |
Specifies source files or directories for a copy.
|
CopySourceSpec |
from(java.lang.Object sourcePath,
Closure configureClosure) |
Specifies the source files or directories for a copy and creates a child
CopySourceSpec. |
CopySourceSpec |
from(java.lang.Object sourcePath,
Action<? super CopySpec> configureAction) |
Specifies the source files or directories for a copy and creates a child
CopySpec. |
CopySourceSpec from(java.lang.Object... sourcePaths)
Project.files(Object...).sourcePaths - Paths to source files for the copyCopySourceSpec from(java.lang.Object sourcePath, @DelegatesTo(CopySpec.class) 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(java.lang.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