Groovy Documentation

org.gradle.nativebinaries
[Java] Interface TargetedNativeComponent


@Incubating
@HasInternalProtocol
public interface TargetedNativeComponent

A native component that can be configured to target certain variant dimensions.


Method Summary
void targetBuildTypes(String... platformSelectors)

Specifies the names of one or more BuildTypes that this component should be built for.

void targetFlavors(String... flavorSelectors)

Specifies the names of one or more Flavors that this component should be built for.

void targetPlatforms(String... platformSelectors)

Specifies the names of one or more Platforms that this component should be built for.

 

Method Detail

targetBuildTypes

public void targetBuildTypes(String... platformSelectors)
Specifies the names of one or more BuildTypes that this component should be built for.


targetFlavors

public void targetFlavors(String... flavorSelectors)
Specifies the names of one or more Flavors that this component should be built for.


targetPlatforms

public void targetPlatforms(String... platformSelectors)
Specifies the names of one or more Platforms that this component should be built for.


 

Gradle API 1.12