Sync Spec
Functions
Link copied to clipboard
abstract fun dirPermissions(configureAction: Action<in ConfigurableFilePermissions>): CopyProcessingSpec
Configuration action for specifying directory access permissions.
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.
Link copied to clipboard
abstract 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.
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.
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.
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
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
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
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
Returns the filter that defines which files to preserve in the destination directory.
Link copied to clipboard
Adds an include spec.
Adds an ANT style include pattern.
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.Link copied to clipboard
Specifies whether case-sensitive pattern matching should be used.
Link copied to clipboard
Configures the filter that defines which files to preserve in the destination directory.
Link copied to clipboard
Renames a source file.
Renames files based on a regular expression.
Link copied to clipboard
Specifies whether case-sensitive pattern matching should be used for this CopySpec.
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
Controls if empty target directories should be included in the copy.
Link copied to clipboard
Set the allowable include patterns.