Depends on your need, but it sounds like you simply need

task c(dependsOn: [a, b]) {}


On Fri, Aug 20, 2010 at 3:51 PM, Robert Fischer <
[email protected]> wrote:

> Is there a way to tell Gradle, "If task A is being executed, make sure to
> run task B after task A"?  I specifically don't want to make Task A a
> dependency on B (it shouldn't run every time), but I'd like it to run them
> together now and again, and when that happens they need to run in a certain
> order.
>
> ~~ Robert.
>

-Jim Moore

Reply via email to