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.

getFiles

abstract fun getFiles(): Set<File>(source)

Returns the contents of this tree as a flattened Set.

The order of the files in a FileTree is not stable, even on a single computer.

Return

The files. Returns an empty set if this tree is empty.