docs.gradle.org

Type Parameters:
T - Type of value represented by the property
All Superinterfaces:
HasConfigurableValue, Provider<T>, SupportsConvention
All Known Subinterfaces:
DirectoryProperty, FileSystemLocationProperty<T>, RegularFileProperty

  • Method Summary

    convention (@Nullable T value)

    Specifies the value to use as the convention (default value) for this property.

    Specifies the provider to be used to query the convention (default value) for this property.

    void

    Disallows further changes to the value of this property.

    void

    set (@Nullable T value)

    Sets the value of the property to the given value, replacing whatever value the property already had.

    void

    Sets the property to have the same value as the given provider, replacing whatever value the property already had.

    unset()

    Unsets this object's explicit value, allowing the convention to be selected when evaluating this object's value.

    Unsets this object's convention value.

    value (@Nullable T value)

    Sets the value of the property to the given value, replacing whatever value the property already had.

    Sets the property to have the same value as the given provider, replacing whatever value the property already had.

  • Method Details

    • set

    • set

    • value

    • value

    • unset

    • convention

    • convention

    • unsetConvention

    • finalizeValue

Read the original on docs.gradle.org ↗