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.

findAll

abstract fun findAll(spec: Closure): Set<T>(source)

Deprecated

Returns a collection which contains the objects in this collection which meet the given closure specification.

This method is an eager operation. The application of the filter forces the realization of all of the underlying collection elements.