Property
A container object that represents a configurable value of a specific type. A Property is also a Provider and can be used in the same way as a Provider. A property's value can be accessed using the methods of Provider such as get(). The value can be modified by using the methods set and set, or their fluid API counterparts value and value.
A property may represent a task output. Such a property carries information about the task producing its value. When this property is attached to an input of another task, Gradle will automatically determine the task dependencies based on this connection.
You can create a Property instance using property. There are also several specialized subtypes of this interface that can be created using various other factory methods.
Note: This interface is not intended for implementation by build script or plugin authors.
Since
4.3
Parameters
Type of value represented by the property
Inheritors
Functions
null
argument.