Class AbstractScriptContext
-
- All Implemented Interfaces:
-
org.danilopianini.gradle.git.hooks.ScriptContext
public abstract class AbstractScriptContext implements ScriptContext
Pre-implements tasks.
-
-
Constructor Summary
Constructors Constructor Description AbstractScriptContext()
-
Method Summary
-
-
Method Detail
-
tasks
final Unit tasks(Object first, Object others, Boolean requireSuccess)
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.
-
-
-
-