interface ConfigurableFileCollection : FileCollection
A You can obtain an instance of |
|
interface ConfigurableFileTree : FileTree, DirectoryTree, PatternFilterable, Buildable
A FileTree with a single base directory, which can be configured and modified. You can obtain a |
|
interface ContentFilterable
Represents some binary resource whose content can be filtered. |
|
interface CopyProcessingSpec : ContentFilterable
Specifies the destination of a copy. |
|
interface CopySourceSpec
Specifies sources for a file copy. |
|
interface CopySpec : CopySourceSpec, CopyProcessingSpec, PatternFilterable
A set of specifications for copying files. This includes:
In this example, the into and exclude specifications at the root level are inherited by the two child CopySpecs. Copy specs can be reused in other copy specs via #with(CopySpec...) method. This enables reuse of the copy spec instances.
|
|
interface DeleteSpec
A specification for deleting files from the filesystem. |
|
interface Directory : FileSystemLocation
Represents a directory at some fixed location on the file system. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the |
|
interface DirectoryProperty : Provider<Directory>, Property<Directory>
Represents some configurable directory location, whose value is mutable and is not necessarily currently known until later. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the |
|
interface DirectoryTree
A directory with some associated include and exclude patterns. This interface does not allow mutation. However, the actual implementation may not be immutable. |
|
interface DirectoryVar : DirectoryProperty, PropertyState<Directory>
Represents some configurable directory location, whose value is mutable and is not necessarily currently known until later. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the |
|
class DuplicatesStrategy
Strategies for dealing with the potential creation of duplicate files for or archive entries. |
|
open class EmptyFileVisitor : FileVisitor
The EmptyFileVisitor can be extends by implementations that only require to implement one of the 2 visit methods (dir or file). This is just to limit the amount of code clutter when not both visit methods need to be implemented. |
|
interface FileCollection : MutableIterable<File>, AntBuilderAware, Buildable
A You can obtain a |
|
interface FileCopyDetails : FileTreeElement, ContentFilterable
Provides details about a file or directory about to be copied, and allows some aspects of the destination file to be modified. Using this interface, you can change the destination path of the file, filter the content of the file, or exclude the file from the result entirely. Access to the source file itself after any filters have been added is not a supported operation. |
|
interface FileSystemLocation
Represents some immutable location on the file system. Note: This interface is not intended for implementation by build script or plugin authors. |
|
interface FileTree : FileCollection
A You can obtain a |
|
interface FileTreeElement
Information about a file in a FileTree. |
|
interface FileVisitDetails : FileTreeElement
Provides access to details about a file or directory being visited by a FileVisitor. |
|
interface FileVisitor
A |
|
interface ProjectLayout
Provides access to several important locations for a project. An instance of the factory can be injected into a task or plugin by annotating a public constructor or method with |
|
interface RegularFile : FileSystemLocation
Represents a regular file at a fixed location on the file system. A regular file is a file that is not a directory and is not some special kind of file such as a device. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created from a Directory instance using the |
|
interface RegularFileProperty : Provider<RegularFile>, Property<RegularFile>
Represents some configurable regular file location, whose value is mutable and not necessarily currently known until later. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the |
|
interface RegularFileVar : RegularFileProperty, PropertyState<RegularFile>
Represents some configurable regular file location, whose value is mutable and not necessarily currently known until later. Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the |
|
open class RelativePath : Serializable, Comparable<RelativePath>, CharSequence
Represents a relative path from some base directory to a file. Used in file copying to represent both a source and target file path when copying files.
|
|
interface ReproducibleFileVisitor : FileVisitor
Visitor which can request a reproducible file order. |
|
interface SourceDirectorySet : FileTree, PatternFilterable, Named, Describable
A
|
open class DuplicateFileCopyingException : GradleException
Thrown when more than one file with the same relative path name is to be copied and the DuplicatesStrategy is set to DuplicatesStrategy.FAIL |
|
open class UnableToDeleteFileException : UncheckedIOException
Thrown by Gradle when it is unable to delete a file. |