Package org.gradle.api.configuration

# Interface BuildFeatures

@ServiceScope(org.gradle.internal.service.scopes.Scope.BuildTree.class) public interface BuildFeatures
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:
  - `BuildFeature`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BuildFeature`
  `getConfigurationCache()`
  State of the Configuration Cache feature in the build.
  `BuildFeature`
  `getIsolatedProjects()`
  State of the Isolated Projects feature in the build.

- ## Method Details

  - ### getConfigurationCache

    BuildFeature getConfigurationCache()
    State of the Configuration Cache feature in the build.
    Since:
      8.5

  - ### getIsolatedProjects

    BuildFeature getIsolatedProjects()
    State of the Isolated Projects feature in the build.
    Since:
      8.5