Remove task defined in plugin


(Mohit Gupta) #1

gradle 1.0 milestone 3.

I am having a conflict of task names between two plugins (for the task ‘clean’). Is there a way I can remove the clean task from one plugin before I apply the next plugin.


(Peter Niederwieser) #2

You can try ‘tasks.remove(clean)’. However this can cause problems, for example when another task depends on the removed task.