ProjectLayout (Gradle API 8.14) (original) (raw)


@ServiceScope(org.gradle.internal.service.scopes.Scope.Project.class)public interface ProjectLayout

Provides access to several important locations for a project.

An instance of this type can be injected into a task, plugin or other object by annotating a public constructor or method with javax.inject.Inject. It is also available via Project.getLayout().

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

Since:

4.1

Returns the build directory for the project.
Returns the project directory.
Returns the settings directory.