api / org.gradle.api.file / DirectoryProperty / getAsFile

getAsFile

abstract fun getAsFile(): Provider<File>

Views the location of this directory as a File.