I think the java plugin sets up a rule to do this already.
for example: 'gradle cleanCompileJava'

You can use clean<anytask>

On Oct 1, 2010, at 7:49 AM, Philip Crotwell wrote:

> I had a thought, it might be nice given that tasks (at least should)
> declare their inputs and outputs to be able to clean only a specific
> task. For example,
> "gradle clean:compile"  (or maybe "gradle -compile" or "gradle
> uncompile" ) might clean all the .class files generated by the compile
> task and its dependencies, but would not delete the build directory or
> anything else inside generated by other tasks.
> 
> Worth considering?
> 
> thanks,
> Philip
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 

--
Steve Appling
Automated Logic Research Team





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

    http://xircles.codehaus.org/manage_email


Reply via email to