PlatformConfigurableToolChain

Note: This class is incubating and may change in a future version of Gradle.

A ToolChain that can handle additional platforms simply by configuring the NativeBinary.

Properties

No properties

Methods

MethodDescription
target(platform)
Incubating

Add support for a set of target platforms.

target(platform, action)
Incubating

Add configuration for a set of target platforms with additional configuration action.

target(platformName)
Incubating

Add support for target platform specified by name.

target(platformName, action)
Incubating

Add configuration for a target platform specified by name with additional configuration action.

target(platformNames)
Incubating

Add support for target platforms specified by name.

target(platformNames)
Incubating

Add support for target platform specified by name.

target(platformNames, action)
Incubating

Add configuration for multiple target platforms specified by name with additional configuration action.

target(platform)
Incubating

Add support for target platform.

target(platform, action)
Incubating

Add configuration for a target platform with additional configuration action.

Script blocks

No script blocks

Method details

void target(Iterable<? extends Platform> platform)

Note: This method is incubating and may change in a future version of Gradle.

Add support for a set of target platforms.

void target(Iterable<? extends Platform> platform, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a set of target platforms with additional configuration action.

void target(String platformName)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform specified by name.

void target(String platformName, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a target platform specified by name with additional configuration action.

void target(String... platformNames)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platforms specified by name.

void target(List<String> platformNames)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform specified by name.

void target(List<String> platformNames, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for multiple target platforms specified by name with additional configuration action.

void target(Platform platform)

Note: This method is incubating and may change in a future version of Gradle.

Add support for target platform.

void target(Platform platform, Action<? super TargetedPlatformToolChain> action)

Note: This method is incubating and may change in a future version of Gradle.

Add configuration for a target platform with additional configuration action.