autonomousapps/dependency-analysis-gradle-plugin

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

Aberta

#643 aberto em 18 de abr. de 2022

 (8 comentários) (1 reação) (0 responsável)Kotlin (154 forks)auto 404
enhancementhelp wanted

Métricas do repositório

Stars
 (2.172 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador