# GradleTask

interface GradleTask : Task

Represents a task which is executable by Gradle.

#### Since

1.0-milestone-5

## Functions

getBuildTreePath
Link copied to clipboard
@Incubating
abstract fun getBuildTreePath(): String
Returns the path of this task within the build tree.
getDescription
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of this task, or `null` if it has no description.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this launchable.
getGroup
Link copied to clipboard
@Nullable
abstract fun getGroup(): @Nullable String
Returns the group a task belongs to.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of this task.
getPath
Link copied to clipboard
abstract fun getPath(): String
Returns the path of this task.
getProject
Link copied to clipboard
abstract fun getProject(): GradleProject
Returns the Gradle project this task is defined in.
getProjectIdentifier
Link copied to clipboard
abstract fun getProjectIdentifier(): ProjectIdentifier
Returns the identifier for the Gradle project that this model originated from.
isPublic
Link copied to clipboard
abstract fun isPublic(): Boolean
Returns whether launchable is public or not.