api / org.gradle.platform.base / ProjectDependencySpecBuilder

ProjectDependencySpecBuilder

@Incubating interface ProjectDependencySpecBuilder : DependencySpecBuilder

A builder of a ProjectDependencySpec.

Functions

library

abstract fun library(name: String): ProjectDependencySpecBuilder

Narrows this dependency specification down to a specific library.

project

abstract fun project(path: String): ProjectDependencySpecBuilder

Narrows this dependency specification down to a specific project.

Inherited Functions

build

abstract fun build(): DependencySpec

Builds a concrete immutable DependencySpec instance.