Dependencies of the buildscript itself?

I am aware that you can render a tree of dependencies for your gradle project with “gradle -q dependencies”. However, I am faced with class clash (different versions of transitive dependency) of my buildscript itself (plugins being used) and I’d like to use a similar command to helt me identify the culprit (and exclude one of these).

Is there such a command?