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.

getElements

Returns the contents of this file collection as a Provider of FileSystemLocation instances. See getFiles for more details.

The returned Provider is live, and tracks changes to this file collection and the producer tasks of this file collection.

Since

5.6