Property<RegularFile>, Provider<RegularFile>RegularFileVar@Incubating public interface RegularFileProperty extends Provider<RegularFile>, Property<RegularFile>
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.fileProperty() method.
| Modifier and Type | Method | Description |
|---|---|---|
Provider<java.io.File> |
getAsFile() |
Views the location of this file as a
File. |
void |
set(java.io.File file) |
Sets the location of this file.
|
Provider<java.io.File> getAsFile()
File.void set(java.io.File file)