api / org.gradle.caching.configuration / BuildCache / setPush

setPush

abstract fun setPush(enabled: Boolean): Unit

Sets whether a given build can store outputs in the build cache.