ComponentWithVariants (Gradle API 9.5.0)
Description: declaration: package: org.gradle.api.component, interface: ComponentWithVariants

Package org.gradle.api.component

# Interface ComponentWithVariants

All Superinterfaces:
  `Named`, `SoftwareComponent`

public interface ComponentWithVariants extends SoftwareComponent
Represents a `SoftwareComponent` that provides one or more mutually exclusive children, or variants.

Since:
  4.3

- ## Nested Class Summary

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

  `Named.Namer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<? extends SoftwareComponent>`
  `getVariants()`

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

  `getName`

- ## Method Details

  - ### getVariants

    Set<? extends SoftwareComponent> getVariants()