Tar
Assembles a TAR archive.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dirPermissions(configureAction: Action<in ConfigurableFilePermissions>): CopyProcessingSpec
Configuration action for specifying directory access permissions.
Link copied to clipboard
Adds the given closure to the beginning of this task's action list.
Adds the given Action to the beginning of this task's action list.
Link copied to clipboard
Adds the given closure to the end of this task's action list.
Adds the given Action to the end of this task's action list.
Link copied to clipboard
Do not track the state of the task.
Link copied to clipboard
Link copied to clipboard
abstract fun eachFile(@DelegatesTo(value = FileCopyDetails::class, strategy = Closure.DELEGATE_FIRST ) closure: Closure): CopyProcessingSpec
Adds an action to be applied to each file as it about to be copied into its destination.
Adds an action to be applied to each file as it is about to be copied into its destination.
Link copied to clipboard
Adds an exclude spec.
Adds an ANT style exclude pattern.
Link copied to clipboard
abstract fun expand(properties: Map<String, out Any>, action: Action<in ExpandDetails>): ContentFilterable
Expands property references in each file as it is copied.
open fun expand(properties: Map<String, out Any>, action: Action<in ExpandDetails>): AbstractCopyTask
Link copied to clipboard
open fun filePermissions(configureAction: Action<in ConfigurableFilePermissions>): CopyProcessingSpec
Configuration action for specifying file access permissions.
Link copied to clipboard
abstract fun filesMatching(patterns: Iterable<String>, action: Action<in FileCopyDetails>): CopySpec
Configure the org.gradle.api.file.FileCopyDetails for each file whose path matches any of the specified Ant-style patterns.
Configure the org.gradle.api.file.FileCopyDetails for each file whose path matches the specified Ant-style pattern.
open fun filesMatching(patterns: Iterable<String>, action: Action<in FileCopyDetails>): AbstractCopyTask
Configure the for each file whose path matches any of the specified Ant-style patterns.
Configure the for each file whose path matches the specified Ant-style pattern.
Link copied to clipboard
abstract fun filesNotMatching(patterns: Iterable<String>, action: Action<in FileCopyDetails>): CopySpec
Configure the org.gradle.api.file.FileCopyDetails for each file whose path does not match any of the specified Ant-style patterns.
Configure the org.gradle.api.file.FileCopyDetails for each file whose path does not match the specified Ant-style pattern.
open fun filesNotMatching(patterns: Iterable<String>, action: Action<in FileCopyDetails>): AbstractCopyTask
Configure the for each file whose path does not match any of the specified Ant-style patterns.
Configure the for each file whose path does not match the specified Ant-style pattern.
Link copied to clipboard
Adds a content filter based on the provided closure.
abstract fun filter(properties: Map<String, out Any>, filterType: Class<out FilterReader>): ContentFilterable
abstract fun filter(properties: Map<String, out Any>, filterType: Class<out FilterReader>): CopySpec
Adds a content filter to be used during the copy.
Adds a content filter based on the provided transformer.
open fun filter(properties: Map<String, out Any>, filterType: Class<out FilterReader>): AbstractCopyTask
Link copied to clipboard
Adds the given finalizer tasks for this task.
Link copied to clipboard
Specifies source files or directories for a copy.
abstract fun from(sourcePath: Any, @DelegatesTo(value = CopySpec::class ) configureClosure: Closure): CopySourceSpec
Specifies the source files or directories for a copy and creates a child
CopySourceSpec.Specifies the source files or directories for a copy and creates a child
CopySpec.Specifies the source files or directories for a copy and creates a child CopySourceSpec}.
Specifies the source files or directories for a copy and creates a child CopySpec}.
Link copied to clipboard
Returns the sequence of Action objects which will be executed by this task, in the order of execution.
Link copied to clipboard
Link copied to clipboard
Returns the appendix part of the archive name, if any.
Link copied to clipboard
Returns the base name of the archive.
Link copied to clipboard
Returns the classifier part of the archive name, if any.
Link copied to clipboard
Returns the extension part of the archive name.
Link copied to clipboard
The RegularFile where the archive is constructed.
Link copied to clipboard
Returns the archive name.
Link copied to clipboard
Returns the version part of the archive name.
Link copied to clipboard
Link copied to clipboard
Returns the dependencies of this task.
Link copied to clipboard
The directory where the archive will be placed.
Link copied to clipboard
Returns the destroyables of this task.
Link copied to clipboard
Checks if the task actually did any work.
Link copied to clipboard
Property for querying and configuring directory access permissions.
Link copied to clipboard
Returns the strategy to use when trying to copy more than one file to the same destination.
Link copied to clipboard
Returns the set of exclude patterns.
Link copied to clipboard
The container of extensions.
Link copied to clipboard
Property for querying and configuring file access permissions.
Link copied to clipboard
Gets the charset used to read and write files when filtering.
Link copied to clipboard
Returns tasks that finalize this task.
Link copied to clipboard
Link copied to clipboard
Tells if empty target directories will be included in the copy.
Link copied to clipboard
Returns the set of include patterns.
Link copied to clipboard
Link copied to clipboard
Returns the local state of this task.
Link copied to clipboard
Returns the org.gradle.api.logging.LoggingManager which can be used to receive logging and to control the standard output/error capture for this task.
Link copied to clipboard
Returns tasks that this task must run after.
Link copied to clipboard
Returns the outputs of this task.
Link copied to clipboard
Returns the Project which this task belongs to.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns tasks that this task should run after.
Link copied to clipboard
Returns the source files for this task.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a TaskDependency which contains all the tasks that this task depends on.
Link copied to clipboard
Link copied to clipboard
Returns a directory which this task can use to write temporary files to.
Link copied to clipboard
Link copied to clipboard
Determines if this task has the given property.
Link copied to clipboard
Link copied to clipboard
Adds an include spec.
Adds an ANT style include pattern.
Link copied to clipboard
Link copied to clipboard
Specifies the destination directory for a copy.
abstract fun into(destPath: Any, @DelegatesTo(value = CopySpec::class ) configureClosure: Closure): CopySpec
Creates and configures a child
CopySpec with the given destination path.Creates and configures a child CopySpec} with the given destination path.
Specifies the destination directory *inside* the archive for the files.
Creates and configures a child
CopySpec with a destination directory *inside* the archive for the files.Link copied to clipboard
Specifies whether case-sensitive pattern matching should be used.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies whether file timestamps should be preserved in the archive.
Link copied to clipboard
Specifies whether to enforce a reproducible file order when reading files from directories.
Link copied to clipboard
Specifies that this task must run after all of the supplied tasks.
Link copied to clipboard
Specifies that this task is not compatible with the configuration cache.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Link copied to clipboard
Renames a source file.
Renames files based on a regular expression.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the sequence of Action objects which will be executed by this task.
Link copied to clipboard
Specifies whether case-sensitive pattern matching should be used for this CopySpec.
Link copied to clipboard
Sets the dependencies of this task.
Link copied to clipboard
Sets whether the task actually did any work.
Link copied to clipboard
The strategy to use when trying to copy more than one file to the same destination.
Link copied to clipboard
Set the allowable exclude patterns.
Link copied to clipboard
Specifies the charset used to read and write files when filtering.
Link copied to clipboard
Specifies the set of finalizer tasks for this task.
Link copied to clipboard
Controls if empty target directories should be included in the copy.
Link copied to clipboard
Set the allowable include patterns.
Link copied to clipboard
Specifies the set of tasks that this task must run after.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Specifies whether file timestamps should be preserved in the archive.
Link copied to clipboard
Sets a property of this task.
Link copied to clipboard
Specifies whether to enforce a reproducible file order when reading files from directories.
Link copied to clipboard
Specifies the set of tasks that this task should run after.
Link copied to clipboard
Specifies that this task should run after all of the supplied tasks.
Link copied to clipboard
Sets the directory and file permissions for archived files to be read from the file system.
Link copied to clipboard
Registers a BuildService that is used by this task so its constraint on parallel execution can be honored.