Package org.gradle.api.tasks
Schnittstelle TaskInputPropertyBuilder
- Alle Superschnittstellen:
TaskPropertyBuilder
Describes an input property of a task.
- Seit:
- 4.3
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungoptional(boolean optional) Sets whether the task property is optional.
-
Methodendetails
-
optional
Sets whether the task property is optional. If the task property is optional, it means that a value does not have to be specified for the property, but any value specified must meet the validation constraints for the property.
-