BuildFeatures

@ServiceScope(value = BuildTree::class)
interface BuildFeatures(source)

Provides information about various build features supported by Gradle, and their state in the current build.

An instance of this type can be injected into a task, plugin or other object by annotating a public constructor or property getter method with javax.inject.Inject.

Since

8.5

See also

Functions

Link copied to clipboard
State of the Configuration Cache feature in the build.
Link copied to clipboard
State of the Isolated Projects feature in the build.