api / org.gradle.api.file / ProjectLayout / newFileVar

newFileVar

abstract fun newFileVar(): RegularFileVar

Creates a new RegularFileVar that uses the project directory to resolve paths, if required. The var has no initial value.