api / org.gradle.api.file / CopySpec / into

into

abstract fun into(destPath: Any): CopySpec

Overrides CopyProcessingSpec.into

{@inheritDoc}

abstract fun into(destPath: Any, configureClosure: Closure<Any>): CopySpec

Creates and configures a child CopySpec with the given destination path. The destination is evaluated as per org.gradle.api.Project#file(Object).

Parameters

destPath - Path to the destination directory for a Copy

configureClosure - The closure to use to configure the child CopySpec.

Return
this

abstract fun into(destPath: Any, copySpec: Action<in CopySpec>): CopySpec

Creates and configures a child CopySpec with the given destination path. The destination is evaluated as per org.gradle.api.Project#file(Object).

Parameters

destPath - Path to the destination directory for a Copy

copySpec - The action to use to configure the child CopySpec.

Return
this