Package: org.gradle.platform.base

## [Java] Interface PlatformAwareComponentSpec

- org.gradle.platform.base.VariantComponentSpec

- All Superinterfaces:
    Named, ComponentSpec, VariantComponentSpec

  Defines Platform specific operations for ComponentSpecs

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `targetPlatform(String targetPlatform)` Specifies a platform that this component should be built be for.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface VariantComponentSpec` | `getBinaries`
    `interface ComponentSpec` | `getDisplayName, getProjectPath`
    `interface Named` | `getName`

- - ### Method Detail

    - #### public void targetPlatform(String targetPlatform)

      Specifies a platform that this component should be built be for.