from

abstract fun from(@Nullable sourcePaths: Array<@Nullable Any>): CopySpec(source)

Specifies source files or directories for a copy. The given paths are evaluated as per * org.gradle.api.Project#files(Object...).


abstract fun from(sourcePath: Any, @DelegatesTo(value = CopySpec::class) c: Closure): CopySpec(source)

Specifies the source files or directories for a copy and creates a child CopySourceSpec}. The given source path is evaluated as per org.gradle.api.Project#files(Object...) .


abstract fun from(sourcePath: Any, configureAction: Action<in CopySpec>): CopySpec(source)

Specifies the source files or directories for a copy and creates a child CopySpec}. The given source path is evaluated as per org.gradle.api.Project#files(Object...) .