What is the Gradle artifact dependency graph command?

前端 未结 8 1467
独厮守ぢ
独厮守ぢ 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:03

    If you want to see dependencies on project and all subprojects use in your top-level build.gradle:

    subprojects {
        task listAllDependencies(type: DependencyReportTask) {}
    }
    

    Then call gradle:

    gradle listAllDependencies
    

提交回复
热议问题