Skip to content

fix(ci): use reachable Gradle distribution - #12

Merged
never-seek merged 1 commit into
mainfrom
codex/fix-ci-gradle-mirror
Jul 26, 2026
Merged

never-seek merged 1 commit into
mainfrom
codex/fix-ci-gradle-mirror

Conversation

@never-seek

Copy link
Copy Markdown
Owner

Why

The Android CI run on main failed before Gradle started because GitHub-hosted runners received a connection reset while downloading the Gradle distribution from the Tencent mirror. The CodeQL workflow already demonstrated that using Gradle's official distribution endpoint only inside GitHub Actions succeeds.

What changed

Added the same CI-only wrapper URL substitution to Android CI. Local development keeps the existing China-friendly Tencent mirror; GitHub Actions replaces only the remote host with services.gradle.org before running Gradle.

Verification

  • The workflow YAML parsed successfully.
  • The substitution was validated against gradle-wrapper.properties.
  • The equivalent CodeQL custom Android build completed successfully on GitHub Actions.

Checklist

  • I kept this PR focused and updated relevant documentation.
  • I did not include cookies, credentials, Apple IDs, real aliases, signing keys, or personal logs.
  • I agree to license this contribution under the repository's MIT License.

@never-seek
never-seek marked this pull request as ready for review July 26, 2026 15:18
@never-seek
never-seek merged commit dfed685 into main Jul 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant