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.

allComponents

Applies given action for each component. An instance of ResolvedComponentResult is passed as parameter to the action.

Since

1.10

Parameters

action

- action that is applied for each component


abstract fun allComponents(@DelegatesTo(value = ResolvedComponentResult::class) closure: Closure)(source)

Applies given closure for each component. An instance of ResolvedComponentResult is passed as parameter to the closure.

Since

1.10

Parameters

closure

- closure that is applied for each component