Gradle 4.4 -> 4.10: Dependencies being downloaded

2019-05-26 13:35发布

问题:

I've been using Gradle 4.4 and when downloading dependencies from Maven central, or any repo, it would print this to stdout like such:

Download https://repo.maven.apache.org/maven2/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.pom

However, after upgrading to Gradle 4.10, it doesn't show this anymore, it just hangs for a while without output, leaving the developer wondering what's going on.

Is there a command line flag or some other option to bring this output back?

回答1:

This is a change made in Gradle 4.10 , described in the ticket #6098, and also discussed in the pull request PR #6104 (see Gradle 4.10 Release Notes)

The log level of download events has been reduced by default, but You can turn it on again by using --info option.



标签: gradle