This is actually quiet normal that people are customising Gradle tasks. For example there are tones of examples how you can customise project generated by Gradle integration in Eclipse. So that you can enable custom code formatter, validation rules, find bugs plugin, generate hibernate classes ... and so on.
I'm trying to figure out how Gradle integration is realised in IntelliJ. For some reason they are not using Gradle plugin but Gradle tooling API.
Is is possible to customise Gradle integration? If yes - is there documentation or examples ? if no - what is the reason for such decision?