Variant (Gradle API 4.9)
Date: 2018-07-16

org.gradle.platform.base

## Annotation Type Variant

-     @Retention(value=RUNTIME)
       @Target(value=METHOD)
       @Incubating
      public @interface 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