# Interface PrebuiltSharedLibraryBinary

All Superinterfaces:
  `Binary, NativeBinary, NativeLibraryBinary, SharedLibraryBinary`

@Incubating @Deprecated public interface PrebuiltSharedLibraryBinary extends SharedLibraryBinary
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.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setSharedLibraryFile(File sharedLibraryFile)`
  Deprecated.
  The shared library file.
  `void`
  `setSharedLibraryLinkFile(File sharedLibraryLinkFile)`
  Deprecated.
  The shared library link file.

  ### Methods inherited from interface Binary

  `getDisplayName`

  ### Methods inherited from interface NativeBinary

  `getBuildType, getFlavor, getTargetPlatform`

  ### Methods inherited from interface NativeLibraryBinary

  `getHeaderDirs, getLinkFiles, getRuntimeFiles`

  ### Methods inherited from interface SharedLibraryBinary

  `getSharedLibraryFile, getSharedLibraryLinkFile`

- ## Method Details

  - ### setSharedLibraryFile

    void setSharedLibraryFile(File sharedLibraryFile)
    Deprecated.
    The shared library file.
    Since:
      2.2

  - ### setSharedLibraryLinkFile

    void setSharedLibraryLinkFile(File sharedLibraryLinkFile)
    Deprecated.
    The shared library link file.
    Since:
      2.2