Interface ProjectDependencySpec

All Superinterfaces:
DependencySpec

@Incubating @Deprecated public interface ProjectDependencySpec extends DependencySpec
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 onto a library published by a project.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Deprecated.
    Returns the name of the library this dependency refers to.
    @Nullable String
    Deprecated.
    Returns the project path of the project this dependency refers to.

    Methods inherited from interface DependencySpec

    getDisplayName
  • Method Details

    • getProjectPath

      @Nullable String getProjectPath()
      Deprecated.
      Returns the project path of the project this dependency refers to.
      Returns:
      the project path
    • getLibraryName

      @Nullable String getLibraryName()
      Deprecated.
      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