Remove task defined in plugin

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.

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