Is it possible to "rename" a task?

I would like to implement the convention that when a package has the suffix -ittest (for integration test) then the target ‘test’ should be called ‘ittest’. But I would like to keep all the rest that comes with the language plugin (e.g. that ittest depends on testClasses for the java case, default source folders, testCompile etc).

Is it possible to rename a task ?

It is not possible to rename a task.