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.

subprojects

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

Configures the sub-projects of this project

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

Since

0.7

Parameters

action

The action to execute.


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

Configures the sub-projects of this project.

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

Since

0.7

Parameters

configureClosure

The closure to execute.