Gradle Wrapper timeout option not working - Stack Overflow

I'm working behind a proxy at my company and often times downloading the Gradle distribution using

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?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745555868a4632814.html

相关推荐

  • Gradle Wrapper timeout option not working - Stack Overflow

    I'm working behind a proxy at my company and often times downloading the Gradle distribution using

    3小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信