[GRADLE-259] Tasks should support description à la Gant and Ant Created: 09/Oct/08  Updated: 04/Jan/13  Resolved: 13/Jan/09

Status: Resolved
Project: Gradle
Affects Version/s: 0.4
Fix Version/s: 0.6

Type: Improvement
Reporter: Russel Winder Assignee: Hans Dockter
Resolution: Fixed Votes: 0


Gnat and Ant have description attributes associated with each target that get printed out when using the "list targets" command line (-T or -p for Gant, -p for Ant). Gradle's -t option simply lists the tasks and dependencies (which is great) but definitely needs a description field.

Each createTask should allow for a description key in the map, for example:

createTask ( 'name' , description: 'Description of the task.' ) { . . . }

Comment by Russel Winder [ 13/Jan/09 ]

It works for me

I do think the output from "gradle -t" could be better formatted but I don't have any constructive suggestions immediately. But this is for the mailing list.

Generated at Wed Jun 30 11:25:38 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.