api / org.gradle.tooling.model / GradleTask

GradleTask

interface GradleTask : Task

Represents a task which is executable by Gradle.

Since
1.0-milestone-5

Functions

getProject

abstract fun getProject(): GradleProject

Returns the Gradle project this task is defined in.

Inherited Functions

getDescription

abstract fun getDescription(): String

Returns the description of this task, or null if it has no description.

getGroup

abstract fun getGroup(): String

Returns the group a task belongs to.

getName

abstract fun getName(): String

Returns the name of this task. Note that the name is not necessarily a unique identifier for the task.

getPath

abstract fun getPath(): String

Returns the path of this task. This is a fully qualified unique name for this task.