@Incubating public interface BuildLayout
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 Settings.getLayout()
.
Note: This interface is not intended for implementation by build script or plugin authors.
Modifier and Type | Method | Description |
---|---|---|
Directory |
getRootDirectory() |
Returns the root directory of the build.
|
Directory |
getSettingsDirectory() |
Returns the settings directory.
|
Directory getSettingsDirectory()
The settings directory is the directory containing the settings file.
Settings.getSettingsDir()
Directory getRootDirectory()
The root directory is the project directory of the root project.
Settings.getRootDir()