# PlatformAwareComponentSpec

@Incubating
interface PlatformAwareComponentSpec : VariantComponentSpec(source)

Defines Platform specific operations for ComponentSpecs

#### Inheritors

TargetedNativeComponent

## Functions

getBinaries
Link copied to clipboard
abstract fun getBinaries(): ModelMap<BinarySpec>
The variants produced for this component spec.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this element.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of this element.
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
The path to the project containing this component.
getVariants
Link copied to clipboard
abstract fun getVariants(): Iterable<out Binary>
The variants of this component.
targetPlatform
Link copied to clipboard
abstract fun targetPlatform(targetPlatform: String)
Specifies a platform that this component should be built be for.