Is there a way to list all gradle dependencies programmatically?

后端 未结 3 1093
无人共我
无人共我 2021-01-31 11:05

I know that doing:

gradle dependencies

Lists the full dependency tree. Now, I\'m looking for a way to manipulate that dependencies tree program

3条回答
  •  故里飘歌
    2021-01-31 11:30

    The easiest would probably be to write your own DependencyReportRenderer implementation and then either configure the existing dependencies task to use it, or define a new task of type DependencyReportTask with your own renderer configured.

提交回复
热议问题