ProjectDependencySpecBuilder (Gradle API 2.14.1)

Package: org.gradle.platform.base

## [Java] Interface ProjectDependencySpecBuilder

- org.gradle.platform.base.DependencySpecBuilder

- All Superinterfaces:
    DependencySpecBuilder

  A builder of a ProjectDependencySpec.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `ProjectDependencySpecBuilder` | `library(String name)` Narrows this dependency specification down to a specific library.
    `ProjectDependencySpecBuilder` | `project(String path)` Narrows this dependency specification down to a specific project.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DependencySpecBuilder` | `build`

- - ### Method Detail

    - #### public ProjectDependencySpecBuilder library(String name)

      Narrows this dependency specification down to a specific library.

      Parameters:
        `name` - the library name
      Returns:
        this instance

    - #### public ProjectDependencySpecBuilder project(String path)

      Narrows this dependency specification down to a specific project.

      Parameters:
        `path` - the project path
      Returns:
        this instance