allowBuildCache

abstract val allowBuildCache: Property<Boolean>

Whether Gradle may store the generated source in a build cache.

Default: false, because every generated value becomes part of the cache entry. Turn it on only when all fields are public client configuration and every local and remote cache is trusted.