api / org.gradle.caching.local / DirectoryBuildCache / setDirectory

setDirectory

open fun setDirectory(directory: Any): Unit

Sets the directory to use to store the build cache. The directory is evaluated as per Project.file(Object).