ToolChainRegistry (Gradle API 8.14.3)
Description: declaration: package: org.gradle.platform.base, interface: ToolChainRegistry

Package org.gradle.platform.base

# Interface ToolChainRegistry<P extends Platform,T extends ToolChain>

Type Parameters:
  `P` - the Platform type
  `T` - the ToolChain type

All Known Subinterfaces:
  `NativeToolChainRegistry`

@Incubating public interface ToolChainRegistry<P extends Platform,T extends ToolChain>
A Provider of `ToolChain`s.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `getForPlatform(P targetPlatform)`
  Returns the best tool chain to build for the target platform.

- ## Method Details

  - ### getForPlatform

    T getForPlatform(P targetPlatform)
    Returns the best tool chain to build for the target platform.