The quite standard question 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:
test {
testLogging.showStandardStreams = true
}
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.