tasks

open fun tasks(name: String, vararg otherNames: String, requireSuccess: Boolean = true)
open fun tasks(task: Task, vararg otherTasks: Task, requireSuccess: Boolean = true)
open fun tasks(task: TaskProvider<*>, vararg otherTasks: TaskProvider<*>, requireSuccess: Boolean = true)
abstract fun tasks(first: Any, vararg others: Any, 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.