Package org.gradle.api.file
@NonNullApi
package org.gradle.api.file
Classes for working with files.
-
ClassDescriptionA
ConfigurableFileCollectionis a mutableFileCollection.AFileTreewith a single base directory, which can be configured and modified.Represents some binary resource whose content can be filtered.Specifies the destination of a copy.Specifies sources for a file copy.A set of specifications for copying files.A specification for deleting files from the filesystem.Represents a directory at some fixed location on the file system.Represents some configurable directory location, whose value is mutable and is not necessarily currently known until later.A directory with some associated include and exclude patterns.Deprecated.Thrown when more than one file with the same relative path name is to be copied and theDuplicatesStrategyis set to DuplicatesStrategy.FAILStrategies for dealing with the potential creation of duplicate files for or archive entries.The EmptyFileVisitor can be extends by implementations that only require to implement one of the 2 visit methods (dir or file).AFileCollectionrepresents a collection of files which you can query in certain ways.Ant types which aFileCollectioncan be mapped to.Provides details about a file or directory about to be copied, and allows some aspects of the destination file to be modified.Represents some immutable location on the file system.AFileTreerepresents a hierarchy of files.Information about a file in aFileTree.Provides access to details about a file or directory being visited by aFileVisitor.AFileVisitoris used to visit each of the files in aFileTree.Provides access to several important locations for a project.Represents a regular file at a fixed location on the file system.Represents some configurable regular file location, whose value is mutable and not necessarily currently known until later.Deprecated.UseRegularFilePropertyinstead.Represents a relative path from some base directory to a file.Visitor which can request a reproducible file order.ASourceDirectorySetrepresents a set of source files composed from a set of source directories, along with associated include and exclude patterns.Thrown by Gradle when it is unable to delete a file.
DirectoryPropertyinstead.