I am using Gradle as a bootstrap to execute a Groovy script. This is useful because Gradle can compile all the supporting source code and then execute the script.
When it fails, the script prints out the relevant information for the user to resolve the issue. However since this is run through Gradle, the usual Gradle tips is also printed (even with quiet switch), e.g.
FAILURE: Build failed with an exception. * What went wrong: ... * Try: ...
In my scenario, these tips are not very helpful and even misleading and confusing to the users of my scripts. So I rather turn them off.
Anyone knows how to do this?
I was tracing up the call stack that ends with
org.gradle.internal.buildevents.BuildExceptionReporter but can’t seem to find any switches to turn this thing off.