Validate (Gradle API 8.12.1)
Description: declaration: package: org.gradle.model, annotation type: Validate

Package org.gradle.model

# Annotation Type Validate

@Retention(RUNTIME) @Target(METHOD) @Incubating public @interface Validate
Denotes that the `RuleSource` method rule carrying this annotation validates the rule subject.

Validate rules execute after `Finalize` rules, but before rule subject is used as an input. The first parameter of the rule is the rule subject, which is immutable.

Please see `RuleSource` for more information on method rules.