api / org.gradle.platform.base / LibraryBinaryDependencySpec

LibraryBinaryDependencySpec

@Incubating interface LibraryBinaryDependencySpec : DependencySpec

A dependency onto a specific binary of 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.

getVariant

abstract fun getVariant(): String

Returns the variant of this binary.

Inherited Functions

getDisplayName

abstract fun getDisplayName(): String

The human friendly name of this dependency.