For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

project

inline fun DependencyHandler.project(vararg notation: Pair<String, Any>): Dependency(source)
inline fun DependencyHandler.project(vararg notation: Pair<String, Any>): Dependency(source)

Kotlin extension function for org.gradle.api.artifacts.dsl.DependencyHandler.project.

Since

0.9

See also


fun DependencyHandler.project(path: String, configuration: String? = null): ProjectDependency(source)

Creates a dependency on a project without adding it to a configuration.

Return

The dependency.

Since

4.1

Parameters

path

the path of the project to be added as a dependency.

configuration

the optional configuration of the project to be added as a dependency.