gradle: Increase HTTP and Gradle internal timeouts, and set retry parameters
- Increased HTTP connection and socket timeouts to 10 minutes for both system and Gradle internal properties.
- Set initial backoff time for Gradle internal repository requests to 500 milliseconds.
- Set maximum number of retries for Gradle internal repository requests to 10.
* This is to avoid build failures with this
> Could not download asm-analysis.jar (org.ow2.asm:asm-analysis:8.0.1)
> Could not get resource 'https://plugins.gradle.org/m2/org/ow2/asm/asm-analysis/8.0.1/asm-analysis-8.0.1.jar'.
> Could not GET 'https://plugins.gradle.org/m2/org/ow2/asm/asm-analysis/8.0.1/asm-analysis-8.0.1.jar
'.
> Read timed out
Signed-off-by:
Jackeagle <jackeagle102@gmail.com>
Loading
Please register or sign in to comment