title: Gradle: How to get output from test STDERR/STDOUT into console?
body: <p>(Gradle 3.2.1) I run some java tests, which logs output in Stderr/Stdout. I can see that output, if I start</p>
  
  <pre><code>gradle test --info
  </code></pre>
  
  <p>but in that case, much of unwanted output from 3-rd party libraries is there too.</p>
  
  <p><a href="https://docs.gradle.org/current/userguide/logging.html#sec:external_tools" rel="noreferrer">Documentation</a> suggests using <code>logging.caputureStandardError / logging.caputureStandardError (loglevel)</code>, but it doesn't seem to have any effect.</p>
  
  <pre><code>tasks.withType(Test) {
     logging.captureStandardOutput LogLevel.QUIET
     logging.captureStandardError LogLevel.QUIET
  }
  </code></pre>
  
  <p>Then if running <code>gradle test</code>, not STDERR/STDOUT is output in console.</p>
  
  <p>How can I get just the output from the tests classes in console?</p>