Package org.gradle.api.component

## Interface SoftwareComponentVariant

- All Superinterfaces:
    `HasAttributes`, `Named`

      @Incubating
      public interface SoftwareComponentVariant
      extends HasAttributes, Named

  A software component variant, which has a number of artifacts, dependencies, constraints and capabilities, and that can be published to various formats (Gradle metadata, POM, ivy.xml, ...)
  Since:
    5.3

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.gradle.api.Named

      `Named.Namer`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Set<? extends PublishArtifact>` | `getArtifacts()` |
    `Set<? extends Capability>` | `getCapabilities()` |
    `Set<? extends ModuleDependency>` | `getDependencies()` |
    `Set<? extends DependencyConstraint>` | `getDependencyConstraints()` |
    `Set<ExcludeRule>` | `getGlobalExcludes()` |

    - ### Methods inherited from interface org.gradle.api.attributes.HasAttributes

      `getAttributes`

    - ### Methods inherited from interface org.gradle.api.Named

      `getName`

- - ### Method Detail

    - #### getArtifacts

          Set<? extends PublishArtifact> getArtifacts()

    - #### getDependencies

          Set<? extends ModuleDependency> getDependencies()

    - #### getDependencyConstraints

          Set<? extends DependencyConstraint> getDependencyConstraints()

    - #### getCapabilities

          Set<? extends Capability> getCapabilities()

    - #### getGlobalExcludes

          Set<ExcludeRule> getGlobalExcludes()