api / org.gradle.platform.base / ProjectDependencySpec

ProjectDependencySpec

@Incubating interface ProjectDependencySpec : DependencySpec

A dependency onto a library published by a project.

Functions

getLibraryName

abstract fun getLibraryName(): String

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

getProjectPath

abstract fun getProjectPath(): String

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

Inherited Functions

getDisplayName

abstract fun getDisplayName(): String

The human friendly name of this dependency.