This message was deleted.
# dependency-management
s
This message was deleted.
j
This is unfortunately hidden and undocumented. 😢 Maybe the Gradle team would like to document these settings in the public documentation. šŸ˜‰ See https://github.com/gradle/gradle/issues/4629#issuecomment-1174938250 and https://quotidian-ennui.github.io/blog/2020/06/05/gradle-timeout-fun/ for the respective settings.
Copy code
# Set the socket timeout to 5 minutes
systemProp.org.gradle.internal.http.connectionTimeout=120000
systemProp.org.gradle.internal.http.socketTimeout=120000

# the number of retries (initial included) (default 3)
systemProp.org.gradle.internal.repository.max.tentative=10

# the initial time before retrying, in milliseconds (default 125)
systemProp.org.gradle.internal.repository.initial.backoff=500
e
Thank you so much @joschi Will check out the links šŸ‘
v
I'd say it is very unlikely that Gradle will officially document internal properties. ;-)
j
@Vampire I'm wondering why they were made internal. They were public before. šŸ˜‰ https://docs.gradle.org/4.3/release-notes.html#timeouts-for-http/https-requests
v
What makes your think they were? Those release notes just say that there was no timeout at all and Gradle now sets timeouts.
j
https://github.com/gradle/gradle/issues/3370
Also, the timeout property should be prefixed with
org.gradle.internal
. It is only there for testing and not meant to be user-editable.
I'm questioning this decision.
v
Well, as I understand it they were not public and made internal, but they were always internal, just wrongly named and then fixed which is also indicated by them never being documented. šŸ™‚ Of course you can question that decision, I'd recommend you do it in a GitHub issue though, so that Gradle guys hear your voice. Here they can easily miss it. šŸ™‚
e
I’m checking this issue again. I attach one of my team member network activity. It failed and retried for 24 times before it decided to throw build error. Can I assume that the person change the configuration in their Gradle home?
Please note, that this is not the only person that have this issue.