Hooking into 'tasks' task

Is it possible for a plugin to hook into the tasks help task to display additional info?

I guess the easiest way of adding output here is to do something like this:

tasks.withType(TaskReportTask){
    doLast{
        println "##########################"
        println "additional info"
    }
}
1 Like