# Interface ProjectDependencySpecBuilder

All Superinterfaces:
  `DependencySpecBuilder`

@Incubating @Deprecated public interface ProjectDependencySpecBuilder extends DependencySpecBuilder
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 builder of a `ProjectDependencySpec`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ProjectDependencySpecBuilder`
  `library(String name)`
  Deprecated.
  Narrows this dependency specification down to a specific library.
  `ProjectDependencySpecBuilder`
  `project(String path)`
  Deprecated.
  Narrows this dependency specification down to a specific project.

  ### Methods inherited from interface DependencySpecBuilder

  `build`

- ## Method Details

  - ### project

    ProjectDependencySpecBuilder project(String path)
    Deprecated.
    Narrows this dependency specification down to a specific project.
    Parameters:
      `path` - the project path
    Returns:
      this instance

  - ### library

    ProjectDependencySpecBuilder library(String name)
    Deprecated.
    Narrows this dependency specification down to a specific library.
    Parameters:
      `name` - the library name
    Returns:
      this instance