title: Force Gradle to run task even if it is UP-TO-DATE
body: <p>I came across a situation, when everything is UP-TO-DATE for Gradle, although I'd still like it to run the task for me. Obviously it does not:</p>
  
  <pre><code>gradle test
  :compileJava UP-TO-DATE
  :processResources UP-TO-DATE
  :classes UP-TO-DATE
  :compileTestJava UP-TO-DATE
  :processTestResources UP-TO-DATE
  :testClasses UP-TO-DATE
  :test UP-TO-DATE
  
  BUILD SUCCESSFUL
  
  Total time: 0.833 secs
  </code></pre>
  
  <p>I can force it to run <strong>test</strong> by running <strong>clean test</strong>, although this may be considered an overhead in some cases. Is there a way to force task execution no matter if Gradle believes it's UP-TO-DATE or not?</p>