There is some work going on to this end in trunk.

Tasks now have a 'group'.  Consider the following build.gradle

        task foo(dependsOn: 'ancillary') {
                group = 'Interesting'
        }

        task ancillary {
                // no group assignment
        }


cbe...@anakata:/tmp>$ gradle -t
:report

------------------------------------------------------------
Root Project
------------------------------------------------------------

Interesting tasks
-----------------
:foo
    :ancillary

BUILD SUCCESSFUL

Total time: 0.478 secs


If you like, just update your gradle-wrapper.properties to read as follows:

        distributionVersion=0.9-20100729113141+0200

and you can try these changes out.

- C



On Jul 30, 2010, at 10:42 AM, Hamlet D'Arcy wrote:

> It would be enough to simply hide certain tasks from the -t output.
> Some tasks I would like to leave in the project but hide from the -t
> output.
> 
> -- 
> Hamlet D'Arcy
> [email protected]
> 
> 
> 
> On Fri, Jul 30, 2010 at 10:03 AM, Hamlet D'Arcy <[email protected]> wrote:
>> Hi all,
>> 
>> I am using the Java plugin, but I do not want all the tasks present.
>> For instance, I have no need for "jar".
>> 
>> How can I remove the jar task? It clutters up the output of "gradle -t"
>> 
>> I don't see an API on TaskCollection to do this.
>> 
>> --
>> Hamlet D'Arcy
>> [email protected]
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to