LibraryBinaryDependencySpec (Gradle API 2.14.1)

Package: org.gradle.platform.base

## [Java] Interface LibraryBinaryDependencySpec

- org.gradle.platform.base.DependencySpec

- All Superinterfaces:
    DependencySpec

  A dependency onto a specific binary of a library published by a project.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `String` | `getLibraryName()` Returns the name of the library this dependency refers to.
    `String` | `getProjectPath()` Returns the project path of the project this dependency refers to.
    `String` | `getVariant()` Returns the variant of this binary.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DependencySpec` | `getDisplayName`

- - ### Method Detail

    - #### public String getLibraryName()

      Returns the name of the library this dependency refers to. If null, it should be assumed that the project defines a single library.

      Returns:
        the library name

    - #### public String getProjectPath()

      Returns the project path of the project this dependency refers to.

      Returns:
        the project path

    - #### public String getVariant()

      Returns the variant of this binary.

      Returns:
        the library variant