# project

abstract fun project(notation: Map<String, out Any>): Dependency(source)

Creates a dependency on a project.

#### Return

The dependency.

#### Parameters

notation

The project notation, in one of the notations described above.

abstract fun project(): ProjectDependency(source)

Creates a dependency on the current project.

#### Return

The dependency.

#### Since

9.5.0

abstract fun project(projectPath: String): ProjectDependency(source)

Creates a dependency on a project by path.

#### Return

The dependency.

#### Since

9.5.0

#### Parameters

projectPath

the path of the project, e.g. ":sub-project"

#### See also

Project