Project Layout
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 getLayout.
Note: This interface is not intended for implementation by build script or plugin authors.
Since
4.1
Functions
Link copied to clipboard
Creates a RegularFile provider whose location is calculated from the given Provider.
Link copied to clipboard
Creates a read-only FileCollection containing the given files, as defined by files.
Link copied to clipboard
Returns the build directory for the project.
Link copied to clipboard
Returns the project directory.