Package org.gradle.model
Annotation Type Mutate
-
@Retention(RUNTIME) @Target(METHOD) @Incubating public @interface Mutate
Denotes that theRuleSourcemethod rule carrying this annotation mutates the rule subject.Mutate rules execute after
Defaultsrules, but beforeFinalizerules. 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.