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).
Project.file(Object)