什么是 Gradle 工件依赖图命令? [英] What is the Gradle artifact dependency graph command?

查看:32
本文介绍了什么是 Gradle 工件依赖图命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Gradle 文档 中阅读了此评论:

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.

我收到了某种罐子,但我需要弄清楚它是从哪里来的.通常我会在全局范围内排除它,但我需要一些关于这里层次结构的信息.我如何像从 Ivy 和 Maven 一样获取这些信息?

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?

更不用说有人将 Hibernate jars(很多)放入我的 jar 列表中,我真的很想知道是谁,因为我没有使用 Hibernate 并尝试消除这种依赖.

推荐答案

命令是 gradle dependencies,它的输出在 Gradle 1.2 中有很大改进.(您今天已经可以尝试 1.2-rc-1.)

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆