# getConfigurationCacheOutcome

@Incubating
abstract fun getConfigurationCacheOutcome(): ConfigurationCacheOutcome(source)

The outcome of configuration caching for the build.

Returns NOT_ENABLED if the configuration cache was not enabled for the build.

#### Return

the configuration cache outcome, never null

#### Since

9.8.0

#### Throws

org.gradle.testkit.runner.UnsupportedFeatureException

when the build was run with a version of Gradle that does not report the outcome (older than 9.8.0)