Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.file
Interface CopySourceSpec

All Known Subinterfaces:
  CopyAction, CopySpec

All Known Implementing Classes:
  AbstractArchiveTask, AbstractCopyTask, Copy, ProcessResources, Sync, Tar, Zip

    public interface CopySourceSpec

Specifies sources for a file copy

Method Summary
`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`.

Method Detail

### from

    CopySourceSpec from(Object... sourcePaths)

  Specifies source files or directories for a copy. The given paths are evaluated as for `Project.files(Object...)`.

  Parameters:
    `sourcePaths` - Paths to source files for the copy

### from

    CopySourceSpec from(Object sourcePath,
                        Closure configureClosure)

  Specifies the source files or directories for a copy and creates a child `CopySourceSpec`. The given source path is evaluated as for `Project.files(Object...)` .

  Parameters:
    `sourcePath` - Path to source for the copy
    `configureClosure` - closure for configuring the child CopySourceSpec

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD