api / org.gradle.api.initialization / Settings / includeFlat

includeFlat

abstract fun includeFlat(vararg projectNames: String): Unit

Adds the given projects to the build. Each name in the supplied list is treated as the name of a project to add to the build.

The supplied name is converted to a project directory relative to the parent directory of the root project directory.

As an example, the name a add a project with path :a, name a and project directory $rootDir/../a.

Parameters

projectNames - the projects to add.