api / org.gradle.api / Task / getName

getName

@Internal abstract fun getName(): String

Returns the name of this task. The name uniquely identifies the task within its Project.

Return
The name of the task. Never returns null.