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.

includeBuild

abstract fun includeBuild(rootProject: String)(source)

Includes a plugin build at the specified path to the composite build. Included plugin builds can contribute settings and project plugins.

Since

7.0

Parameters

rootProject

The path to the root project directory for the build.


abstract fun includeBuild(rootProject: String, configuration: Action<ConfigurableIncludedPluginBuild>)(source)

Includes a plugin build at the specified path to the composite build, with the supplied configuration. Included plugin builds can contribute settings and project plugins.

Since

7.0

Parameters

rootProject

The path to the root project directory for the build.

configuration

An action to configure the included build.