On 9 Jan 2014, at 6:13 pm, Xavier Ducrohet <x...@google.com> wrote:

> Is it possible for a custom plugin to create new command line arguments? 
> Something similar to --all on 'tasks'.
> 
> I'd like those arguments to be either specific to custom tasks or project 
> wide.

There's an internal mechanism for task level that we could look at promoting:

https://github.com/gradle/gradle/blob/master/subprojects/core/src/main/groovy/org/gradle/api/internal/tasks/options/Option.java
https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java#L684

I'm not sure of anything for global switches or anything in the works. What's 
your use case here?

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


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

    http://xircles.codehaus.org/manage_email


Reply via email to