abstract fun copySpec(closure: Closure<Any>): CopySpec
Creates a org.gradle.api.file.CopySpec which can later be used to copy files or create an archive. The given closure is used to configure the org.gradle.api.file.CopySpec before it is returned by this method.
closure
- Closure to configure the CopySpec
Return
The CopySpec