api / org.gradle.platform.base / ToolChainRegistry / getForPlatform

getForPlatform

abstract fun getForPlatform(targetPlatform: P): T

Returns the best tool chain to build for the target platform.