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.

allprojects

abstract fun allprojects(action: Action<in Project>)(source)

Configures this project and each of its sub-projects.

This method executes the given Action against this project and each of its sub-projects.

Since

0.7

Parameters

action

The action to execute.


abstract fun allprojects(@DelegatesTo(value = Project::class) configureClosure: Closure)(source)

Configures this project and each of its sub-projects.

This method executes the given closure against this project and its sub-projects. The target Project is passed to the closure as the closure's delegate.

Since

0.7

Parameters

configureClosure

The closure to execute.