How to create a custom gradle start event?


(rIT) #1

Hi!

Is there a way I can capture and add a custom log + actions for events like started, passed, etc?

Something like the onOutput method but only listening to the events instead of the standard output or error

Thanks


(James Justinic) #2

There are many other listeners that you can use other than the StandardOutputListener. Look at the Gradle::addListener documentation for the other listener classes and the events that they can respond to.