admin管理员组文章数量:1430077
I'm working behind a proxy at my company and often times downloading the Gradle distribution using the wrapper takes longer than 10 seconds. Since 10 seconds is the default timeout period the download fails. I'm trying to adjust the timeout and it's not working.
I'm using Gradle version 8.2, and according the documentation I should be able to use the --network-timeout
option. But the following does not work:
./gradlew --network-timeout 30000
I get this output:
Downloading .2-bin.zip
............10%............20%............30%.............40%............50%............60%............70%.............80%............90%............
It hangs at 90%
for ten seconds, then fails, regardless of the value I provide for --network-timeout
.
Am I missing something obvious?
本文标签: Gradle Wrapper timeout option not workingStack Overflow
版权声明:本文标题:Gradle Wrapper timeout option not working - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745555868a2663180.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论