From a6db8fd7d07b1bf6a109b346e922c257102afbf5 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 5 Dec 2015 08:11:14 -0800 Subject: [PATCH] Not necessary. --- plug-in-development/index.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plug-in-development/index.html b/plug-in-development/index.html index f5b2830..1843830 100644 --- a/plug-in-development/index.html +++ b/plug-in-development/index.html @@ -368,11 +368,6 @@ fun lineCount(project: Project): TaskResult { A Kobalt task needs to accept a Project in parameter and return a TaskResult, which indicates whether this task completed successfully.

-
-

Request for feedback

- Having the 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: