Search in sources :

Example 1 with ToolSearchBuildAbility

use of org.gradle.platform.base.internal.ToolSearchBuildAbility in project gradle by gradle.

the class AbstractNativeBinarySpec method getBinaryBuildAbility.

@Override
protected BinaryBuildAbility getBinaryBuildAbility() {
    NativeToolChainInternal toolChainInternal = (NativeToolChainInternal) getToolChain();
    NativePlatformInternal platformInternal = (NativePlatformInternal) getTargetPlatform();
    return new ToolSearchBuildAbility(toolChainInternal.select(platformInternal));
}
Also used : ToolSearchBuildAbility(org.gradle.platform.base.internal.ToolSearchBuildAbility) NativeToolChainInternal(org.gradle.nativeplatform.toolchain.internal.NativeToolChainInternal) NativePlatformInternal(org.gradle.nativeplatform.platform.internal.NativePlatformInternal)

Aggregations

NativePlatformInternal (org.gradle.nativeplatform.platform.internal.NativePlatformInternal)1 NativeToolChainInternal (org.gradle.nativeplatform.toolchain.internal.NativeToolChainInternal)1 ToolSearchBuildAbility (org.gradle.platform.base.internal.ToolSearchBuildAbility)1