Variant (Gradle API 2.14.1)

Package: org.gradle.platform.base

## [Java] Annotation Type Variant

- org.gradle.platform.base.Variant

- Declares that a property represents a variant dimension. Variants are used in dependency resolution to discriminate between various binaries that may match the requirements (such as a platform, a build type, ...). This annotation must be set on a getter. The return type of the getter must either be a String or a class implementing Named.

  Since:
    2.6

- - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`