| Package | Description |
|---|---|
| org.gradle.api |
Start Here: Gradle's
Project API, which is available from your build files. |
| org.gradle.api.file |
Classes for working with files.
|
| org.gradle.api.internal.file | |
| org.gradle.api.internal.file.archive | |
| org.gradle.api.internal.file.copy | |
| org.gradle.api.internal.plugins | |
| org.gradle.api.internal.project | |
| org.gradle.api.tasks |
The standard
Task implementations. |
| org.gradle.api.tasks.bundling |
The archive bundling
Task implementations. |
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
Script.copySpec(Closure closure)
Creates a
CopySpec which can later be used to copy files or create an archive. |
CopySpec |
Project.copySpec(Closure closure)
Creates a
CopySpec which can later be used to copy files or create an archive. |
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
CopySpec.eachFile(Action<? super FileCopyDetails> action)
Adds an action to be applied to each file as it is about to be copied into its destination.
|
CopySpec |
CopySpec.eachFile(Closure closure)
Adds an action to be applied to each file as it about to be copied into its destination.
|
CopySpec |
CopySpec.exclude(Closure excludeSpec)
Adds an exclude spec.
|
CopySpec |
CopySpec.exclude(Iterable<String> excludes)
Adds an ANT style exclude pattern.
|
CopySpec |
CopySpec.exclude(Spec<FileTreeElement> excludeSpec)
Adds an exclude spec.
|
CopySpec |
CopySpec.exclude(String... excludes)
Adds an ANT style exclude pattern.
|
CopySpec |
CopySpec.expand(Map<String,?> properties)
Expands property references in each file as it is copied.
|
CopySpec |
CopySpec.filter(Class<? extends FilterReader> filterType)
Adds a content filter to be used during the copy.
|
CopySpec |
CopySpec.filter(Closure closure)
Adds a content filter based on the provided closure.
|
CopySpec |
CopySpec.filter(Map<String,?> properties,
Class<? extends FilterReader> filterType)
Adds a content filter to be used during the copy.
|
CopySpec |
CopySpec.from(Object... sourcePaths)
Specifies source files or directories for a copy.
|
CopySpec |
CopySpec.from(Object sourcePath,
Closure c)
Specifies the source files or directories for a copy and creates a child
CopySourceSpec. |
CopySpec |
CopySpec.include(Closure includeSpec)
Adds an include spec.
|
CopySpec |
CopySpec.include(Iterable<String> includes)
Adds an ANT style include pattern.
|
CopySpec |
CopySpec.include(Spec<FileTreeElement> includeSpec)
Adds an include spec.
|
CopySpec |
CopySpec.include(String... includes)
Adds an ANT style include pattern.
|
CopySpec |
CopySpec.into(Object destPath)
Specifies the destination directory for a copy.
|
CopySpec |
CopySpec.into(Object destPath,
Closure configureClosure)
Creates and configures a child
CopySpec with the given destination path. |
CopySpec |
CopySpec.rename(Closure closure)
Renames a source file to a different relative location under the target directory.
|
CopySpec |
CopySpec.rename(String sourceRegEx,
String replaceWith)
Renames files based on a regular expression.
|
CopySpec |
CopySpec.setExcludes(Iterable<String> excludes)
Set the allowable exclude patterns.
|
CopySpec |
CopySpec.setIncludes(Iterable<String> includes)
Set the allowable include patterns.
|
CopySpec |
CopySpec.with(CopySpec... sourceSpecs)
Adds the given specs as a child of this spec.
|
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
CopySpec.with(CopySpec... sourceSpecs)
Adds the given specs as a child of this spec.
|
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
FileOperations.copySpec(Closure closure) |
CopySpec |
DefaultFileOperations.copySpec(Closure closure) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TarCopyAction |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ArchiveCopyAction |
interface |
CopyAction |
interface |
FileCopyAction |
| Modifier and Type | Class and Description |
|---|---|
class |
CopyActionImpl |
class |
CopySpecImpl |
class |
FileCopyActionImpl |
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
CopySpecImpl.eachFile(Action<? super FileCopyDetails> action) |
CopySpec |
CopyActionImpl.eachFile(Action<? super FileCopyDetails> action) |
CopySpec |
CopySpecImpl.eachFile(Closure closure) |
CopySpec |
CopyActionImpl.eachFile(Closure closure) |
CopySpec |
CopySpecImpl.exclude(Closure excludeSpec) |
CopySpec |
CopyActionImpl.exclude(Closure excludeSpec) |
CopySpec |
CopySpecImpl.exclude(Iterable<String> excludes) |
CopySpec |
CopyActionImpl.exclude(Iterable<String> excludes) |
CopySpec |
CopySpecImpl.exclude(Spec<FileTreeElement> excludeSpec) |
CopySpec |
CopyActionImpl.exclude(Spec<FileTreeElement> excludeSpec) |
CopySpec |
CopySpecImpl.exclude(String... excludes) |
CopySpec |
CopyActionImpl.exclude(String... excludes) |
CopySpec |
CopySpecImpl.expand(Map<String,?> properties) |
CopySpec |
CopyActionImpl.expand(Map<String,?> properties) |
CopySpec |
CopySpecImpl.filter(Class<? extends FilterReader> filterType) |
CopySpec |
CopyActionImpl.filter(Class<? extends FilterReader> filterType) |
CopySpec |
CopySpecImpl.filter(Closure closure) |
CopySpec |
CopyActionImpl.filter(Closure closure) |
CopySpec |
CopySpecImpl.filter(Map<String,?> properties,
Class<? extends FilterReader> filterType) |
CopySpec |
CopyActionImpl.filter(Map<String,?> properties,
Class<? extends FilterReader> filterType) |
CopySpec |
CopySpecImpl.from(Object... sourcePaths) |
CopySpec |
CopyActionImpl.from(Object... sourcePaths) |
CopySpec |
CopySpecImpl.from(Object sourcePath,
Closure c) |
CopySpec |
CopyActionImpl.from(Object sourcePath,
Closure c) |
CopySpec |
CopySpecImpl.include(Closure includeSpec) |
CopySpec |
CopyActionImpl.include(Closure includeSpec) |
CopySpec |
CopySpecImpl.include(Iterable<String> includes) |
CopySpec |
CopyActionImpl.include(Iterable<String> includes) |
CopySpec |
CopySpecImpl.include(Spec<FileTreeElement> includeSpec) |
CopySpec |
CopyActionImpl.include(Spec<FileTreeElement> includeSpec) |
CopySpec |
CopySpecImpl.include(String... includes) |
CopySpec |
CopyActionImpl.include(String... includes) |
CopySpec |
FileCopyActionImpl.into(Object destDir) |
CopySpec |
CopyActionImpl.into(Object destDir) |
CopySpec |
CopyActionImpl.into(Object destPath,
Closure configureClosure) |
CopySpec |
CopySpecImpl.rename(Closure closure) |
CopySpec |
CopyActionImpl.rename(Closure closure) |
CopySpec |
CopySpecImpl.rename(Pattern sourceRegEx,
String replaceWith) |
CopySpec |
CopyActionImpl.rename(Pattern sourceRegEx,
String replaceWith) |
CopySpec |
CopySpecImpl.rename(String sourceRegEx,
String replaceWith) |
CopySpec |
CopyActionImpl.rename(String sourceRegEx,
String replaceWith) |
CopySpec |
CopyActionImpl.setExcludes(Iterable<String> excludes) |
CopySpec |
CopySpecImpl.setIncludes(Iterable<String> includes) |
CopySpec |
CopyActionImpl.setIncludes(Iterable<String> includes) |
CopySpec |
CopySpecImpl.with(CopySpec... copySpecs) |
CopySpec |
CopyActionImpl.with(CopySpec... copySpecs) |
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
CopySpecImpl.with(CopySpec... copySpecs) |
CopySpec |
CopyActionImpl.with(CopySpec... copySpecs) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProcessResources |
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
AbstractProject.copySpec(Closure closure) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCopyTask
AbstractCopyTask is the base class for all copy tasks. |
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 |
|---|---|
protected CopySpec |
AbstractCopyTask.getMainSpec() |
CopySpec |
AbstractCopyTask.with(CopySpec... sourceSpecs)
Adds the given specs as a child of this spec.
|
| Modifier and Type | Method and Description |
|---|---|
CopySpec |
AbstractCopyTask.with(CopySpec... sourceSpecs)
Adds the given specs as a child of this spec.
|
| 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