摇篮4.4-> 4.10:正在下载的依赖项不再显示 [英] Gradle 4.4 -> 4.10: Dependencies being downloaded are not shown anymore
问题描述
我一直在使用Gradle 4.4,并且从Maven Central或任何仓库下载依赖项时,它会像下面这样将其打印到stdout
:
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
但是,升级到Gradle 4.10后,它不再显示此信息,它只是挂了一段时间而没有输出,这使开发人员想知道发生了什么.
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?
推荐答案
这是在Gradle 4.10中所做的更改,在故障单PR# 6104 (请参见版本4.10发行说明)
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)
默认情况下,下载事件的日志级别已降低,但是您可以使用--info
选项再次将其打开.
The log level of download events has been reduced by default, but You can turn it on again by using --info
option.
这篇关于摇篮4.4-> 4.10:正在下载的依赖项不再显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!