anchor.diff:  Description = API elements for main.
   
   Capabilities
  -    - [default capability]
  -Attributes
  -    - org.gradle.category            = library
  -    - org.gradle.dependency.bundling = external
  -    - org.gradle.jvm.version         = 8
  +    - new-java-library:lib:unspecified (default capability)
  +Attributes
  +    - org.gradle.category            = library
  +    - org.gradle.dependency.bundling = external
  +    - org.gradle.jvm.version         = 11
       - org.gradle.libraryelements     = jar
       - org.gradle.usage               = java-api
  -
   Artifacts
  -    - build/libs/variant-report.jar (artifactType = jar)
  -
  -Secondary variants (*)
  -    - Variant : classes
  -       - Attributes
  -          - org.gradle.category            = library
  -          - org.gradle.dependency.bundling = external
  -          - org.gradle.jvm.version         = 8
  -          - org.gradle.libraryelements     = classes
  -          - org.gradle.usage               = java-api
  -       - Artifacts
  -          - build/classes/java/main (artifactType = java-classes-directory)
  +    - build/libs/lib.jar (artifactType = jar)
  +
  +Secondary Variants (*)
  +
  +    --------------------------------------------------
  +    Secondary Variant classes
  +    --------------------------------------------------
  +        Description = Directories containing compiled class files for main.
  +
  +        Attributes
  +            - org.gradle.category            = library
  +            - org.gradle.dependency.bundling = external
  +            - org.gradle.jvm.version         = 11
  +            - org.gradle.libraryelements     = classes
  +            - org.gradle.usage               = java-api
  +        Artifacts
  +            - build/classes/java/main (artifactType = java-classes-directory)
  +
  +--------------------------------------------------
  +Variant mainSourceElements (i)
  +--------------------------------------------------
  +Description = List of source directories contained in the Main SourceSet.
  +
  +Capabilities
  +    - new-java-library:lib:unspecified (default capability)
  +Attributes
  +    - org.gradle.category            = verification
  +    - org.gradle.dependency.bundling = external
  +    - org.gradle.verificationtype    = main-sources
  +Artifacts
  +    - src/main/java (artifactType = directory)
  +    - src/main/resources (artifactType = directory)
   
   --------------------------------------------------
   Variant runtimeElements
  
positive.code: 
  It also shows _secondary_ variants, which are exclusive to Gradle projects and not published.
  For example, the secondary variant `classes` from `apiElements` is what allows Gradle to skip the JAR creation when compiling against a <<java_library_plugin.adoc#sec:java_library_classes_usage,`java-library` project>>.
  
  [[sec:variant-aware-matching]]
  == Variant aware matching
  
negative.code: [[sec:variant-visual]]
  == Visualizing variant information
  
  === The Outgoing Variants Report
  
  Gradle offers a report task called `outgoingVariants` that displays the variants of a project, with their capabilities, attributes and artifacts.
  It is conceptually similar to the `dependencyInsight` <<viewing_debugging_dependencies.adoc#sec:identifying_reason_dependency_selection,reporting task>>.
  
  