fileTree

fun Project.fileTree(    dir: Any,     excludes: List<String> = listOf(),     includes: List<String> = listOf()): ConfigurableFileTree

Wrapper around Project.fileTree(Map) to use it easier from Kotlin code. Currently only supports the dir, excludes and includes properties.