Skip to content

Add CI-only Reposilite Maven Central mirror as first repository#23018

Closed
nbradbury wants to merge 1 commit into
trunkfrom
ci-reposilite-maven-central
Closed

Add CI-only Reposilite Maven Central mirror as first repository#23018
nbradbury wants to merge 1 commit into
trunkfrom
ci-reposilite-maven-central

Conversation

@nbradbury

Copy link
Copy Markdown
Contributor

Description

Mirrors DayOne-Android #8001.

Prepends an internal Reposilite proxy (http://10.0.2.215:8080/maven-central) as the first repository in dependencyResolutionManagement, guarded by gradle.ext.isCi. On CI, dependency resolution hits the internal proxy before falling back to public repositories; local builds are unaffected since the block is skipped when isCi is false.

allowInsecureProtocol = true is set because the mirror is served over plain HTTP.

Testing instructions

CI configuration change:

  1. Verify a local build resolves dependencies normally (the mirror block is skipped when not on CI).
  • ./gradlew :WordPress:dependencies (or any build) succeeds locally without contacting the proxy.
  1. Verify CI builds resolve through the mirror.
  • Confirm CI dependency resolution succeeds with the Reposilite proxy listed first.

Prepend internal Reposilite proxy (http://10.0.2.215:8080/maven-central) to
dependencyResolutionManagement repositories, guarded by gradle.ext.isCi. Enable
allowInsecureProtocol since the mirror is served over plain HTTP.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@nbradbury nbradbury closed this Jun 19, 2026
@nbradbury nbradbury deleted the ci-reposilite-maven-central branch June 19, 2026 18:28
@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack Android by scanning the QR code below to install the corresponding build.

App NameJetpack Android
Build TypeDebug
Versionpr23018-0d4be90
Build Number1497
Application IDcom.jetpack.android.prealpha
Commit0d4be90
Installation URL75eatl38vmpp8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress Android by scanning the QR code below to install the corresponding build.

App NameWordPress Android
Build TypeDebug
Versionpr23018-0d4be90
Build Number1497
Application IDorg.wordpress.android.prealpha
Commit0d4be90
Installation URL2rl5dpuo96e88
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

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.

3 participants