title: Gradle Plugin: Task C should run if Task A or Task B:
body: <p>I am creating Custom Plugin tasks and got into a situation where I need some help.
  I create 3 tasks. Task A, B, C in gradle.
  Task C should get executed only if A or B got success.
  Note that A and B are 2 separate tasks and are not related.</p>
  
  <pre><code>class A extends DefaultTask { }
  
  class B extends DefaultTask { }
  
  class C extends DefaultTask { }
  </code></pre>
  
  <p>If I try <code>C.dependsOn(A); C.dependsOn(B);</code>, then I think C is dependent on both A <strong>and</strong> B (not A <strong>or</strong> B). Is there any way to specify A <strong>or</strong> B condition here.</p>