dir

abstract fun dir(file: Provider<File>): Provider<Directory>(source)

Creates a Directory provider whose location is calculated from the given Provider.

File system locations based on relative paths will be resolved against this layout's reference location, as defined by getProjectDirectory.