BuildLayout

Provides access to important locations for a Gradle build.

An instance of this type can be injected into a settings plugin by annotating a public constructor or method with javax.inject.Inject. It is also available via getLayout.

Note: This interface is not intended for implementation by build script or plugin authors.

Since

8.5

Functions

Link copied to clipboard
abstract fun getRootDirectory(): Directory
Returns the root directory of the build.
Link copied to clipboard
Returns the settings directory.