org.gradle.nativebinaries

## Interface TargetedNativeComponent

- All Known Subinterfaces:
    NativeExecutableSpec, NativeLibrarySpec

      @Incubating
      public interface TargetedNativeComponent

  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.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `targetBuildTypes(String... platformSelectors)` Specifies the names of one or more `BuildType`s that this component should be built for.
    `void` | `targetFlavors(String... flavorSelectors)` Specifies the names of one or more `Flavor`s that this component should be built for.
    `void` | `targetPlatforms(String... platformSelectors)` Specifies the names of one or more `Platform`s that this component should be built for.

- - ### Method Detail

    - #### targetFlavors

          void targetFlavors(String... flavorSelectors)

      Specifies the names of one or more `Flavor`s that this component should be built for.

    - #### targetPlatforms

          void targetPlatforms(String... platformSelectors)

      Specifies the names of one or more `Platform`s that this component should be built for.

    - #### targetBuildTypes

          void targetBuildTypes(String... platformSelectors)

      Specifies the names of one or more `BuildType`s that this component should be built for.