什么是Gradle工件依赖图命令? [英] What is the Gradle artifact dependency graph command?
问题描述
我在 Gradle文档中阅读了此评论:
为了处理版本冲突引起的问题,依赖图
的报表也非常有用。这些报告是依赖管理的另一个特征。
我有一些引入的jar,但我需要弄清楚它来自哪里。通常我会全局排除它,但我需要一些关于层次结构的信息。我如何从Ivy和Maven那里得到这些信息?
更别提有人将Hibernate jar(很多)带入我的jar列表我真的很想知道是谁,因为我没有使用Hibernate,并试图切断这种依赖。
该命令是 gradle dependencies
,它的输出在Gradle 1.2中有很大改进。 (你今天可以试试1.2-rc-1。) 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 are another feature of dependency management.
I have some kind of jar being brought in but I need to figure out where it is coming from. Normally I would just globally exclude it, but I need some information on the hierarchy here. How do I get this information like I can from Ivy and Maven?
NOT to mention that someone is bringing Hibernate jars (a lot) in to my jar list and I really want to know who since I am not using Hibernate and try to cut out that dependency.
The command is gradle dependencies
, and its output is much improved in Gradle 1.2. (You can already try 1.2-rc-1 today.)
这篇关于什么是Gradle工件依赖图命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!