(Quick Reference)

3.7.7 依赖报告 - Reference Documentation

Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith

Version: null

3.7.7 依赖报告

As mentioned in the previous section a Grails application consists of dependencies inherited from the framework, the plugins installed and the application dependencies itself.

To obtain a report of an application's dependencies you can run the dependency-report command:

grails dependency-report

By default this will generate reports in the target/dependency-report directory. You can specify which configuration (scope) you want a report for by passing an argument containing the configuration name:

grails dependency-report runtime

正如前面提到的,Grails应用所依赖的主要来自系统框架,已经安装的插件和应用自身的依赖。

要获取应用的依赖情况报告,可以运行dependency-report命令:

grails dependency-report

缺省情况下,生成的报告位于target/dependency-report目录下。你也可以通过传递一个配置(又称范围)名称来生成特定的报告,比如:

grails dependency-report runtime