api / org.gradle.kotlin.dsl / SettingsScriptApi / copy

copy

fun copy(configuration: CopySpec.() -> Unit): WorkResult

Copies the specified files.

Parameters

configuration - The block to use to configure the CopySpec.

Return
WorkResult that can be used to check if the copy did any work.