# project

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

Creates a dependency on a project.

#### Return

The dependency.

#### Parameters

notation

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

@Incubating
abstract fun project(): ProjectDependency

Creates a dependency on the current project.

#### Return

The dependency.

#### Since

9.5.0

@Incubating
abstract fun project(projectPath: String): ProjectDependency

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