prudhvigodithi commented on code in PR #15550:
URL: https://github.com/apache/lucene/pull/15550#discussion_r2666108945
##########
build-tools/build-infra/src/main/java/org/apache/lucene/gradle/plugins/misc/LuceneRootConfigurationPlugin.java:
##########
@@ -120,7 +120,16 @@ private void applyCommonConfiguration(Project project) {
project.setVersion(project.getRootProject().getVersion());
}
- project.getRepositories().mavenCentral();
+ // use google's maven central mirror first on github runners.
+ // https://github.com/apache/lucene/issues/15541
+ if
(project.getProviders().environmentVariable("GITHUB_ACTIONS").isPresent()) {
Review Comment:
NIT: can we update the logic similar to `apply from:
file("declare-repositories.gradle")` ?
--
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]