Task

interface Task : Launchable(source)

Represents a task which is executable by Gradle.

Note: Task extends Launchable since 1.12.

Since

1.0-milestone-3

Inheritors

Functions

Link copied to clipboard
Returns the path of this task within the build tree.
Link copied to clipboard
@Nullable
abstract fun getDescription(): String
Returns the description of this task, or null if it has no description.
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
@Nullable
abstract fun getGroup(): String
Returns the group a task belongs to.
Link copied to clipboard
abstract fun getName(): String
Returns the name of this task.
Link copied to clipboard
abstract fun getPath(): String
Returns the path of this task.
Link copied to clipboard
Link copied to clipboard
abstract fun isPublic(): Boolean