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.

貢獻者指南