Package org.gradle.api.file
Interface CopySourceSpec
- All Known Implementing Classes:
AbstractArchiveTask
,AbstractCopyTask
,Copy
,Ear
,Jar
,Jar
,ProcessResources
,Sync
,Tar
,War
,Zip
public interface CopySourceSpec
Specifies sources for a file copy.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies source files or directories for a copy.Specifies the source files or directories for a copy and creates a childCopySourceSpec
.Specifies the source files or directories for a copy and creates a childCopySpec
.
-
Method Details
-
from
Specifies source files or directories for a copy. The given paths are evaluated as perProject.files(Object...)
.- Parameters:
sourcePaths
- Paths to source files for the copy
-
from
Specifies the source files or directories for a copy and creates a childCopySourceSpec
. The given source path is evaluated as perProject.files(Object...)
.- Parameters:
sourcePath
- Path to source for the copyconfigureClosure
- closure for configuring the child CopySourceSpec
-
from
Specifies the source files or directories for a copy and creates a childCopySpec
. The given source path is evaluated as perProject.files(Object...)
.- Parameters:
sourcePath
- Path to source for the copyconfigureAction
- action for configuring the child CopySpec
-