I read this comment in the Gradle docs:
To deal with problems due to version conflicts, reports with dependency graphs
are also very helpful. Such reports ar
In recent versions of Gradle (ie. 5+), if you run your build with the --scan
flag, it tells you all kinds of useful information, including dependencies, in a browser where you can click around.
gradlew --scan clean build
It will analyze the crap out of what's going on in that build. It's pretty neat.
For those looking to debug gradle dependencies in react-native
projects, the command is (executed from projectname/android
)
./gradlew app:dependencies --configuration compile