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.

all

abstract fun all(action: Action<in T>)(source)

Executes the given action against all objects in this collection, and any objects subsequently added to this collection.

This method is a terminal eager operation. It will cause the realization of all elements of this collection.

Since

0.9.2

Parameters

action

The action to be executed


abstract fun all(action: Closure)(source)

Executes the given closure against all objects in this collection, and any objects subsequently added to this collection. The object is passed to the closure as the closure delegate. Alternatively, it is also passed as a parameter.

This method is a terminal eager operation. It will cause the realization of all elements of this collection.

Since

0.9.2

Parameters

action

The action to be executed