api / org.gradle.nativeplatform / NativeLibrarySpec / getApi

getApi

abstract fun getApi(): NativeLibraryRequirement

Converts this library to a native library requirement that uses the api library linkage.