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.

allDependencies

abstract fun allDependencies(action: Action<in DependencyResult>)(source)

Applies given action for each dependency. An instance of DependencyResult is passed as parameter to the action.

Since

1.3

Parameters

action

- action that is applied for each dependency


abstract fun allDependencies(@DelegatesTo(value = DependencyResult::class) closure: Closure)(source)

Applies given closure for each dependency. An instance of DependencyResult is passed as parameter to the closure.

Since

1.3

Parameters

closure

- closure that is applied for each dependency