@Incubating interface RegularFileVar : RegularFileProperty, PropertyState<RegularFile>
Represents some configurable regular file location, whose value is mutable and not necessarily currently known until later.
Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created using the ProjectLayout#newFileVar()
method.
Since
4.1
abstract fun getAsFile(): Provider<File>
Views the location of this file as a File. |
|
abstract fun set(file: File): Unit
Sets the location of this file. |