yuqi1129 opened a new pull request, #15125:
URL: https://github.com/apache/gravitino/pull/15125

   ### What changes were proposed in this pull request?
   
   Configure Gradle to make up to five dependency resolution attempts, with 
backoff intervals of 5, 10, 20, and 40 seconds.
   
   ### Why are the changes needed?
   
   Maven Central can return HTTP 429 while Gradle resolves the Foojay settings 
plugin’s Gson dependency. Gradle 8.2 exhausts its default retries after about 
three seconds, causing CI to fail before any build tasks run.
   
   ### Does this PR introduce any user-facing change?
   
   Local and CI builds can wait up to 75 seconds between the first and last 
attempts when a dependency repository keeps rate-limiting requests.
   
   ### How was this patch tested?
   
   Ran Gradle 8.2 with Foojay 0.7.0 and Gson 2.9.1 against a local Maven 
repository. The build recovered on the fourth request after three HTTP 429 
responses. Persistent 429s stopped after five attempts, and a 404 made one 
request.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to