# 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.

- ## 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.

  - ### getLibraryName

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

  - ### getLinkage

    String getLinkage()
    Deprecated.
    The required linkage.

  - ### withProjectPath

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