api / org.gradle.platform.base / PlatformAwareComponentSpec / targetPlatform

targetPlatform

abstract fun targetPlatform(targetPlatform: String): Unit

Specifies a platform that this component should be built be for.