| Package | Description |
|---|---|
| org.gradle.api.internal.plugins | |
| org.gradle.api.tasks |
The standard
Task implementations. |
| org.gradle.api.tasks.bundling |
The archive bundling
Task implementations. |
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessResources |
| Modifier and Type | Class and Description |
|---|---|
class |
Copy
Copies files into a destination directory.
|
class |
Sync
Synchronises the contents of a destination directory with some source directories and files.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCopyTask |
AbstractCopyTask.eachFile(Action<? super FileCopyDetails> action)
Adds an action to be applied to each file as it is about to be copied into its destination.
|
AbstractCopyTask |
AbstractCopyTask.eachFile(Closure closure)
Adds an action to be applied to each file as it about to be copied into its destination.
|
AbstractCopyTask |
AbstractCopyTask.exclude(Closure excludeSpec)
Adds an exclude spec.
|
AbstractCopyTask |
AbstractCopyTask.exclude(Iterable<String> excludes)
Adds an ANT style exclude pattern.
|
AbstractCopyTask |
AbstractCopyTask.exclude(Spec<FileTreeElement> excludeSpec)
Adds an exclude spec.
|
AbstractCopyTask |
AbstractCopyTask.exclude(String... excludes)
Adds an ANT style exclude pattern.
|
AbstractCopyTask |
AbstractCopyTask.expand(Map<String,?> properties)
Expands property references in each file as it is copied.
|
AbstractCopyTask |
AbstractCopyTask.filter(Class<? extends FilterReader> filterType)
Adds a content filter to be used during the copy.
|
AbstractCopyTask |
AbstractCopyTask.filter(Closure closure)
Adds a content filter based on the provided closure.
|
AbstractCopyTask |
AbstractCopyTask.filter(Map<String,?> properties,
Class<? extends FilterReader> filterType)
Adds a content filter to be used during the copy.
|
AbstractCopyTask |
AbstractCopyTask.from(Object... sourcePaths)
Specifies source files or directories for a copy.
|
AbstractCopyTask |
AbstractCopyTask.from(Object sourcePath,
Closure c)
Specifies the source files or directories for a copy and creates a child
CopySourceSpec. |
AbstractCopyTask |
AbstractCopyTask.include(Closure includeSpec)
Adds an include spec.
|
AbstractCopyTask |
AbstractCopyTask.include(Iterable<String> includes)
Adds an ANT style include pattern.
|
AbstractCopyTask |
AbstractCopyTask.include(Spec<FileTreeElement> includeSpec)
Adds an include spec.
|
AbstractCopyTask |
AbstractCopyTask.include(String... includes)
Adds an ANT style include pattern.
|
AbstractCopyTask |
AbstractCopyTask.into(Object destDir)
Specifies the destination directory for a copy.
|
AbstractCopyTask |
AbstractCopyTask.into(Object destPath,
Closure configureClosure)
Creates and configures a child
CopySpec with the given destination path. |
AbstractCopyTask |
AbstractCopyTask.rename(Closure closure)
Renames a source file to a different relative location under the target directory.
|
AbstractCopyTask |
AbstractCopyTask.rename(Pattern sourceRegEx,
String replaceWith)
Renames files based on a regular expression.
|
AbstractCopyTask |
AbstractCopyTask.rename(String sourceRegEx,
String replaceWith)
Renames files based on a regular expression.
|
AbstractCopyTask |
AbstractCopyTask.setDirMode(Integer mode)
Sets the Unix permissions to use for the target directories.
|
AbstractCopyTask |
AbstractCopyTask.setExcludes(Iterable<String> excludes)
Set the allowable exclude patterns.
|
AbstractCopyTask |
AbstractCopyTask.setFileMode(Integer mode)
Sets the Unix permissions to use for the target files.
|
AbstractCopyTask |
AbstractCopyTask.setIncludes(Iterable<String> includes)
Set the allowable include patterns.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractArchiveTask
AbstractArchiveTask is the base class for all archive tasks. |
class |
Tar
Assembles a TAR archive.
|
class |
Zip
Assembles a ZIP archive.
|
Copyright © 2013. All rights reserved