gradle
8.3

# getIncludedBuilds

abstract fun getIncludedBuilds(): DomainObjectSet<out GradleBuild>

Returns the included builds that were referenced by this build. This is the set of builds that were directly included by this build via its org.gradle.api.initialization.Settings instance.

Note that this set does not include builds that are added in other ways, such as a `buildSrc` build. Also note that a build may be included by multiple builds, so that the inclusions form a graph of builds rather than a tree of builds. There may be cycles in this graph.

In general, it is better to use getEditableBuilds instead of this method.