autonomousapps/dependency-analysis-gradle-plugin

The reason task should list the classes which depend on a dependency

开放

#643 创建于 2022年4月18日

 (8 条评论) (1 个反应) (0 位负责人)Kotlin (154 个派生)auto 404
enhancementhelp wanted

仓库指标

星标
 (2,172 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Is your feature request related to a problem? Please describe. The below is a shorted snippet of the reason task

gw category-a:subproject:reason --id :category-b:subproject

Source: main
------------
* Uses class com.company.my.special.class (implies implementation).

While knowing which class is used is a good start, knowing where it is used is key to verify/remove a dependency.

Describe the solution you'd like Output in line with the following would be nice to have:

gw category-a:subproject:reason --id :category-b:subproject

Source: main
------------
* Uses class com.company.my.special.class (implies implementation), listing first X occurrences:
  - FQClass1
  - FQClass2

This information is available in the synthetic-project.json and other intermediates.

贡献者指南