# Interface NativeLibraryRequirement

@Incubating @Deprecated public interface NativeLibraryRequirement
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 dependency on a native library within the build.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getLibraryName()`
  Deprecated.
  The name of the required library.
  `String`
  `getLinkage()`
  Deprecated.
  The required linkage.
  `String`
  `getProjectPath()`
  Deprecated.
  The path to the project containing the library.
  `NativeLibraryRequirement`
  `withProjectPath(String projectPath)`
  Deprecated.
  Creates a copy of this requirement with the specified project path

- ## Method Details

  - ### getProjectPath

    String getProjectPath()
    Deprecated.
    The path to the project containing the library.
    Since:
      2.2

  - ### getLibraryName

    String getLibraryName()
    Deprecated.
    The name of the required library.
    Since:
      2.2

  - ### getLinkage

    String getLinkage()
    Deprecated.
    The required linkage.
    Since:
      2.2

  - ### withProjectPath

    NativeLibraryRequirement withProjectPath(String projectPath)
    Deprecated.
    Creates a copy of this requirement with the specified project path
    Since:
      3.2