For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

setFrom

abstract fun setFrom(paths: Iterable<out Any>)(source)
abstract fun setFrom(@Nullable paths: Array<@Nullable Any>)(source)

Sets the source paths for this collection. The given paths are evaluated as per files.

Since

1.0

Parameters

paths

The paths. null values are ignored.