GradleTask

interface GradleTask : Task(source)

Represents a task which is executable by Gradle.

Since

1.0-milestone-5

Functions

Link copied to clipboard
Returns the path of this task within the build tree.
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of this task, or null if it has no description.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this launchable.
Link copied to clipboard
@Nullable
abstract fun getGroup(): @Nullable 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
abstract fun getProject(): GradleProject
Returns the Gradle project this task is defined in.
Link copied to clipboard
Returns the identifier for the Gradle project that this model originated from.
Link copied to clipboard
abstract fun isPublic(): Boolean
Returns whether launchable is public or not.