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.

setSource

open fun setSource(source: FileTree)(source)

Sets the source for this task.

Since

4.0

Parameters

source

The source.


open fun setSource(source: Any)(source)

Sets the source for this task. The given source object is evaluated as per files.

Since

0.8

Parameters

source

The source.