title: How to redirect to stdoutt/stderror output from any process called by any gradle task, not necessarily test task
body: <p>The <a href="https://stackoverflow.com/questions/40954017/gradle-how-to-get-output-from-test-stderr-stdout-into-console">quite standard questio</a>n about gradle is how to make it possible to redirect output from launched process, to which the standard answer is to configure your tests like this:</p>
  <pre><code>test {
      testLogging.showStandardStreams = true
  }
  </code></pre>
  <p>What I do miss in this answer - is how to print to the stdout/stderr when it's not about tests but about any arbitrary gradle task launched. In other words, I want to be able to see the standard output of any process called by gradle.</p>