api / org.gradle.nativeplatform / NativeLibraryRequirement

NativeLibraryRequirement

@Incubating interface NativeLibraryRequirement

A dependency on a native library within the build.

Functions

getLibraryName

abstract fun getLibraryName(): String

The name of the required library.

getLinkage

abstract fun getLinkage(): String

The required linkage.

getProjectPath

abstract fun getProjectPath(): String

The path to the project containing the library.

withProjectPath

abstract fun withProjectPath(projectPath: String): NativeLibraryRequirement

Creates a copy of this requirement with the specified project path