org.gradle.api.tasks
Annotation Type Optional


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Optional

Marks a property as optional. This means that a value does not have to be specified for the property, but any value specified must meet any validation constraints for the property.