wombatu-kun commented on code in PR #18653:
URL: https://github.com/apache/iceberg/pull/18653#discussion_r4375411501


##########
build.gradle:
##########
@@ -115,6 +115,12 @@ allprojects {
   group = "org.apache.iceberg"
   version = projectVersion
   repositories {
+    if (System.getenv("GITHUB_ACTIONS") != null) {
+      // Google Mirror of Maven Central, placed first so that it's used 
instead of flaky Maven Central
+      maven {
+        url = 
uri("https://maven-central.storage-download.googleapis.com/maven2/";)

Review Comment:
   On a cold cache the plugin classpath still downloads from Maven Central: 
`buildscript` only declares `gradlePluginPortal()`, which 303-redirects 
non-plugin artifacts to `repo.maven.apache.org`. Could the same gated mirror 
also go ahead of `gradlePluginPortal()` in `buildscript.repositories`?



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to