Can I hook a launch of Gradle GUI and execute task?

What I want to do is to share Gradle GUI favorite tasks among project members.

I defined a custom task to merge favorite tasks into a current setting (gradle-app.setting).
I want to automatically execute it before launching Gradle GUI, but I don’t know how to do it.

Does gradle provide a hook of launching Gradle GUI?
Or is there any nicer way?