Repository navigation
Conversation
Keep Maven Central as a fallback rather than requiring rate-limited Blacksmith runners to fetch from it first. Install the settings init script for the check and tagged release bundle only; leave local repository settings unchanged and Android-specific groups on Google Maven. Verified on the QA VM with both Central hosts blocked: ComposerAutocompleteTests passed, both API 34 and 35 jars downloaded from the mirror with empty Gradle and Maven caches, and prepareRobolectricSdks stored and reused the configuration cache with problems=fail.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maven Central is rate-limiting our CI runners (HTTP 429 on
repo.maven.apache.org). Since the Robolectric jars are resolved by Gradle (#17), every run fails at configuration time: mainba842adc(3 retries), PR #16, and the noon release build forv0.3.8, which never reached Play.CI now installs
.github/gradle/maven-mirror.init.gradle.kts, which puts Google's public Maven Central mirror (maven-central.storage-download.googleapis.com/maven2) ahead ofmavenCentral()inpluginManagementanddependencyResolutionManagement, excluding Google-Maven groups (androidx, com.android, com.google.android, firebase). Maven Central stays as the fallback. CI only:settings.gradle.ktsand local builds are unchanged.Verified on the QA VM with both Maven Central hosts blocked and empty Gradle/Maven caches: all dependencies, including both android-all jars, resolve from the mirror; the configuration cache is stored and reused with
--configuration-cache-problems=fail; fullscripts/check.shpasses (6m 41s).