On 24/11/2010, at 6:03 PM, Etienne Studer wrote:

> Hi
> 
> It's easy to add an additional task dependency to a given task. How can I do 
> the opposite? Remove a dependency from a given task?

You can do something like this:

someTask.dependsOn = [... the set of dependencies that you'd actually like... ]


> 
> Let's say, just for an example, I want to remove the dependency of the check 
> task on the test task.

Do you want to change the dependencies that the standard Gradle plugins define? 
If so, I don't suppose you could give a quick description of why you want to do 
this?


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to