Gradle: How print the dependency artifact urls on console

烂漫一生 提交于 2020-03-01 10:01:27

问题


We are moved from maven to gradle, In maven, with the build command, we can clearly see the nexus URLs from where the dependencies are fetched.

With gradle how could I see the dependency URLs while the project is building? Is there any command line option that does this in gradle.


回答1:


Log level details related to dependency downloads are not shown by default with gradle.

To enable these dependency download logs, pass the --info option or simply --i flag with gradle command and it will print the dependency download URLs on the console.



来源:https://stackoverflow.com/questions/53996400/gradle-how-print-the-dependency-artifact-urls-on-console

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!