T
- The type of location.HasConfigurableValue
, Property<T>
, Provider<T>
DirectoryProperty
, RegularFileProperty
@Incubating public interface FileSystemLocationProperty<T extends FileSystemLocation> extends Property<T>
Note: This interface is not intended for implementation by build script or plugin authors.
Modifier and Type | Method | Description |
---|---|---|
Provider<File> |
getAsFile() |
Views the location of this file as a
File . |
Provider<T> |
getLocationOnly() |
Returns the location of the file system element, and discards details of the task that produces its content.
|
void |
set(File file) |
Sets the location of this file, using a
File instance. |
disallowChanges
convention, convention, finalizeValue, set, set, value, value
Provider<T> getLocationOnly()