By default set embedded to true for GradleConnector. This is to allow fo...

...r in-process debugging from the IDE. Forking behavior can be enabled by setting a system property.
For some reason the embedded implementation didn't handle the `println` correctly - line breaks looked different. I think there's something you will need to do in terms of also capturing System.out/err in conjunction with the regular Gradle logging support.