Schnittstelle TargetedNativeComponent

Alle Superschnittstellen:
ComponentSpec, ModelElement, Named, NativeComponentSpec, PlatformAwareComponentSpec, VariantComponent, VariantComponentSpec
Alle bekannten Unterschnittstellen:
NativeExecutableSpec, NativeLibrarySpec

@Incubating public interface TargetedNativeComponent extends PlatformAwareComponentSpec, NativeComponentSpec
A native component that can be configured to target certain variant dimensions. This functionality is a temporary workaround to eliminate configuration of unnecessary domain objects and tasks.
  • Methodendetails

    • targetFlavors

      void targetFlavors(String... flavorSelectors)
      Specifies the names of one or more Flavors that this component should be built for.
    • targetBuildTypes

      void targetBuildTypes(String... buildTypeSelectors)
      Specifies the names of one or more BuildTypes that this component should be built for.