# PrebuiltSharedLibraryBinary

@Incubating
interface PrebuiltSharedLibraryBinary : SharedLibraryBinary(source)

### Deprecated

The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.

A shared library that exists at a known location on the filesystem.

## Functions

getBuildType
Link copied to clipboard
abstract fun getBuildType(): BuildType
Returns the org.gradle.nativeplatform.BuildType used to construct this binary.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this binary.
getFlavor
Link copied to clipboard
abstract fun getFlavor(): Flavor
The org.gradle.nativeplatform.Flavor that this binary was built with.
getHeaderDirs
Link copied to clipboard
abstract fun getHeaderDirs(): FileCollection
getLinkFiles
Link copied to clipboard
abstract fun getLinkFiles(): FileCollection
getRuntimeFiles
Link copied to clipboard
abstract fun getRuntimeFiles(): FileCollection
getSharedLibraryFile
Link copied to clipboard
abstract fun getSharedLibraryFile(): File
The shared library file.
getSharedLibraryLinkFile
Link copied to clipboard
abstract fun getSharedLibraryLinkFile(): File
The shared library link file.
getTargetPlatform
Link copied to clipboard
abstract fun getTargetPlatform(): NativePlatform
Returns the org.gradle.nativeplatform.platform.NativePlatform that this binary is targeted to run on.
setSharedLibraryFile
Link copied to clipboard
abstract fun setSharedLibraryFile(sharedLibraryFile: File)
The shared library file.
setSharedLibraryLinkFile
Link copied to clipboard
abstract fun setSharedLibraryLinkFile(sharedLibraryLinkFile: File)
The shared library link file.