Task State
TaskState
provides information about the execution state of a org.gradle.api.Task. You can obtain a TaskState
instance by calling getState.
Functions
Link copied to clipboard
Checks if the task actually did any work.
Link copied to clipboard
Returns true if this task has been executed.
Link copied to clipboard
Returns the exception describing the task failure, if any.
Link copied to clipboard
Returns true if the execution of this task was skipped due to task inputs are empty.
Link copied to clipboard
Returns a message describing why the task was skipped.
Link copied to clipboard
Returns true if the execution of this task was skipped for some reason.
Link copied to clipboard
Returns true if the execution of this task was skipped because the task was up-to-date.
Link copied to clipboard
Throws the task failure, if any.