Common Script Context
Implements a Script DSL valid for any hook.
Inheritors
Properties
Functions
Link copied to clipboard
Appends the result of the provided function to the existing script.
Link copied to clipboard
open fun tasks(task: TaskProvider<*>, vararg otherTasks: TaskProvider<*>, requireSuccess: Boolean = true)
Adds the provided tasks to the script, by invoking ./gradlew <taskname>. By default, a failure of the task implies a failure of the commit. To run a task without considering the failure critical, pass [requireSuccess] = false.