Interface RegularFileProperty

All Superinterfaces:
Property<RegularFile>, Provider<RegularFile>
All Known Subinterfaces:
RegularFileVar

@Incubating public interface RegularFileProperty extends Provider<RegularFile>, Property<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.fileProperty() method.

Since:
4.3
  • Method Details

    • getAsFile

      Provider<File> getAsFile()
      Views the location of this file as a File.
    • set

      void set(File file)
      Sets the location of this file.