API Documentation: | PlatformAwareComponentSpec |
---|
Note: This class is incubating and may change in a future version of Gradle.
Defines Platform specific operations for ComponentSpecs
Property | Description |
binaries | Incubating The binaries that are built for this component. You can use this to configure the binaries for this component. |
displayName | Incubating Returns a human-consumable display name for this component. |
source | Incubating The source sets that are used to build this component. |
Method | Description |
sources(action) | Incubating Configure the source sets used to build this component. |
targetPlatform(targetPlatform) | Incubating Specifies a platform that this component should be built be for. |
DomainObjectSet
<BinarySpec
>
binaries
(read-only)
DomainObjectSet
<BinarySpec
>Note: This property is incubating and may change in a future version of Gradle.
The binaries that are built for this component. You can use this to configure the binaries for this component.
String
displayName
(read-only)
Note: This property is incubating and may change in a future version of Gradle.
Returns a human-consumable display name for this component.
DomainObjectSet
<LanguageSourceSet
>
source
(read-only)
DomainObjectSet
<LanguageSourceSet
>Note: This property is incubating and may change in a future version of Gradle.
The source sets that are used to build this component.
void
sources
(Action
<? super PolymorphicDomainObjectContainer
<LanguageSourceSet
>>
action)
Action
<? super PolymorphicDomainObjectContainer
<LanguageSourceSet
>>Note: This method is incubating and may change in a future version of Gradle.
Configure the source sets used to build this component.
void
targetPlatform
(String
targetPlatform)
Note: This method is incubating and may change in a future version of Gradle.
Specifies a platform that this component should be built be for.