public interface CopySourceSpec
修飾子とタイプ | メソッドと説明 |
---|---|
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... 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 CopySourceSpec