From a6db8fd7d07b1bf6a109b346e922c257102afbf5 Mon Sep 17 00:00:00 2001
From: Cedric Beust Project
in parameter and return a TaskResult
, which indicates whether this task completed successfully.
Project
passed in both the apply()
function and in each task feels redundant, although it avoids the trouble from having to store that project in a field of the plug-in, making it essentially stateless.
-
The @Task
annotation accepts the following attributes: