Package org.gradle.nativeplatform
Interface TargetedNativeComponent
- All Superinterfaces:
ComponentSpec,ModelElement,Named,NativeComponentSpec,PlatformAwareComponentSpec,VariantComponent,VariantComponentSpec
- All Known Subinterfaces:
NativeExecutableSpec,NativeLibrarySpec
@Incubating
public interface TargetedNativeComponent
extends PlatformAwareComponentSpec, NativeComponentSpec
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionvoidtargetBuildTypes(String... buildTypeSelectors) Specifies the names of one or moreBuildTypes that this component should be built for.voidtargetFlavors(String... flavorSelectors) Specifies the names of one or moreFlavors that this component should be built for.Methods inherited from interface org.gradle.platform.base.ComponentSpec
getProjectPathMethods inherited from interface org.gradle.model.ModelElement
getDisplayNameMethods inherited from interface org.gradle.nativeplatform.NativeComponentSpec
getBaseName, setBaseNameMethods inherited from interface org.gradle.platform.base.PlatformAwareComponentSpec
targetPlatformMethods inherited from interface org.gradle.platform.base.VariantComponent
getName, getVariantsMethods inherited from interface org.gradle.platform.base.VariantComponentSpec
getBinaries