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<File> |
getAsFile() |
Views the location of this file as a
File . |
void |
set(File file) |
Sets the location of this file.
|