Maven/Gradle way to calculate the total size of a dependency with all its transitive dependencies included

前端 未结 4 2046
花落未央
花落未央 2021-02-07 06:05

I would like to be able to perform an analysis on each of my project POMs to determine how many bytes each direct dependency introduces to the resulting package based on the sum

4条回答
  •  北海茫月
    2021-02-07 06:41

    I do not know any way to show the totals but you may get a report for your project which can show per dependency size information. Please check this maven plugin : http://maven.apache.org/plugins/maven-project-info-reports-plugin/dependencies-mojo.html

提交回复
热议问题