Is there a way to replace a transitive dependency by another?

It’s not possible at the moment, but it’s something we’ll add.

At the moment, you’ll need to do the exclude dance for each project that drags in the jars you don’t want.