api / org.gradle.nativeplatform.platform / NativePlatform / getOperatingSystem

getOperatingSystem

abstract fun getOperatingSystem(): OperatingSystem

The operating system being targeted. Defaults to the default operating system targeted by the tool chain (normally the current operating system).