Is there a way to turn debug/verbose output on for groovy's AntBuilder? In other words, I want to enable more detailed output like one would get with ant -verbose
from the command line.
I know about the recorder task, as described here, but this writes to a file, and I want to write to stdout or possibly a logger (like the one provided for maven plugins written in groovy).
As inspired by the first result from google (rewritten for Groovy conciseness):
ant.project.buildListeners[0].messageOutputLevel = 4
Values are documented here, with 4 being most verbose.