# Annotation Type RuleTarget

@Retention(RUNTIME) @Target(METHOD) @Incubating @Deprecated public @interface RuleTarget
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
Attached to the getter for a property on a `RuleSource` to denote that the property defines the target for the rule source.

Since:
  2.11