api / org.gradle.api.artifacts.component / ProjectComponentIdentifier / getProjectPath

getProjectPath

abstract fun getProjectPath(): String

Returns the path of the project that produces this component. This path is relative to the containing build, so for example will return ':' for the root project of a build.

Since
1.10