api / org.gradle.api.initialization / Settings / includeBuild

includeBuild

@Incubating abstract fun includeBuild(rootProject: Any): Unit

Includes a build at the specified path to the composite build.

Parameters

rootProject - The path to the root project directory for the build.

Since
3.1

@Incubating abstract fun includeBuild(rootProject: Any, configuration: Action<ConfigurableIncludedBuild>): Unit

Includes a build at the specified path to the composite build, with the supplied configuration.

Parameters

rootProject - The path to the root project directory for the build.

configuration - An action to configure the included build.

Since
3.1