File Copy Details
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.
Functions
Kotlin extension function for org.gradle.api.file.ContentFilterable.expand.
Adds a content filter to be used during the copy. Multiple calls add additional filters to the filter chain. Each filter should implement FilterReader. Import org.apache.tools.ant.filters.*
for access to all the standard Ant filters.
Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.file.ContentFilterable.filter.