setDirectory

open fun setDirectory(@Nullable directory: @Nullable Any)(source)

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