PlatformAwareComponentSpec

Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. cpp-application, cpp-library, swift-application, swift-library, xctest) instead.

Defines Platform specific operations for ComponentSpecs

Inheritors

Functions

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