FileSystemLocationpublic interface RegularFile extends FileSystemLocation
Note: This interface is not intended for implementation by build script or plugin authors. An instance of this class can be created
from a Directory instance using the Directory.file(String) method or via various methods on ProjectLayout such as ProjectLayout.getProjectDirectory().
| Modifier and Type | Method | Description |
|---|---|---|
java.io.File |
getAsFile() |
Returns the location of this file, as an absolute
File. |
java.io.File getAsFile()
File.getAsFile in interface FileSystemLocation