Package org.gradle.model
Annotation Type Defaults
-
@Retention(RUNTIME) @Target(METHOD) @Incubating public @interface Defaults
Denotes that theRuleSourcemethod rule carrying this annotation initializes the rule subject with default values.Default rules execute first for a given subject, just after the subject has been created but before
Modelrules andMutaterules. The first parameter of the rule is the rule subject, which is mutable for the duration of the rule.Please see
RuleSourcefor more information on method rules.