What is the Gradle artifact dependency graph command?

前端 未结 8 1438
独厮守ぢ
独厮守ぢ 2020-11-28 03:34

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         


        
8条回答
  •  無奈伤痛
    2020-11-28 04:26

    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.

提交回复
热议问题