How to make errors appear as actual errors?

I’m using the checkStyle plugin.
I’ve changed the settings as follows: property name="severity" value="error"

I’m expecting errors to be generated. I don’t know how it works under the hood but I’d think that the problematic output would go to the error standard output and appear in red in my terminal (it’s an intellij terminal and errors are indeed supposed to be red)

When I run my gradle build process, I see that the build fails (as expected) because checkstyle fails. The overall “failure” message is in red. (that’s good)

However, each individual line of error of checkstyle, despite being labelled [ERROR] (instead of [WARN] before) appears in regular color, not in red. (that’s NOT good)

Is there some Gradle magic I can do to pipe the error output properly?