api / org.gradle.api.file / DirectoryProperty / getAsFileTree

getAsFileTree

abstract fun getAsFileTree(): FileTree

Returns a FileTree that allows the files and directories contained in this directory to be queried.