Recently I had unpleasant issue with duplicated and conflicting transitive dependencies between buildSrc
and one of the plugins resulting in NoSuchMethodError
(resolution strategy and exclusions don’t work at that level). I don’t know of any build-in way to display buildscript
and buildSrc
dependencies in Gradle. While buildscript
dependencies can be gathered and displayed programatically in a custom task, I had problem with fetching buildSrc
project - I couldn’t reference it using :buildSrc
or any other way I tried.
Questions. How can I get (and display or process) buildSrc
dependencies?