api / org.gradle.api / Task / getPath

getPath

@Internal abstract fun getPath(): String

Returns the path of the task, which is a fully qualified name for the task. The path of a task is the path of its Project plus the name of the task, separated by :.

Return
the path of the task, which is equal to the path of the project plus the name of the task.