copySpec

abstract fun copySpec(closure: Closure): CopySpec(source)

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.

Return

The CopySpec

Parameters

closure

Closure to configure the CopySpec