Task

open class Task(source)

A task to execute

Online Documentation

Constructors

Link copied to clipboard
constructor(    taskDefinition: TaskDefinition,     scope: JsAny,     name: String,     source: String,     execution: JsAny = definedExternally,     problemMatchers: JsAny = definedExternally)

Creates a new task.

Properties

Link copied to clipboard

The task's definition.

Link copied to clipboard

A human-readable string which is rendered less prominently on a separate line in places where the task's name is displayed. Supports rendering of theme icons via the $(<name>)-syntax.

Link copied to clipboard

The task's execution engine

Link copied to clipboard

The task group this tasks belongs to. See TaskGroup for a predefined set of available groups. Defaults to undefined meaning that the task doesn't belong to any special group.

Link copied to clipboard

Whether the task is a background task or not.

Link copied to clipboard

The task's name

Link copied to clipboard

The presentation options. Defaults to an empty literal.

Link copied to clipboard

The problem matchers attached to the task. Defaults to an empty array.

Link copied to clipboard

Run options for the task

Link copied to clipboard
val scope: JsAny?

The task's scope.

Link copied to clipboard

A human-readable string describing the source of this shell task, e.g. 'gulp' or 'npm'. Supports rendering of theme icons via the $(<name>)-syntax.