Repository navigation
Wrap Maven Central to the cache redirector - #5757
Merged
Vladimir Mazunin (mazunin-v-jb) merged 4 commits intoOct 15, 2026
Merged
Conversation
…use cache redirector for Maven Central (CMP-10937) Redirect Maven Central usages in build scripts to use the JetBrains cache redirector and clarify Kotlin Toolchain-related comments in validation scripts (CMP-10937) Temporarily disable Kotlin Toolchain in CodeViewer due to Maven Central rate-limiting in CI (CMP-10937) Use JetBrains Maven Central cache redirector in example validation scripts Use JetBrains Maven Central cache redirector across all templates and Gradle scripts Ensure Maven Central is excluded in settings to enforce redirector usage Use JetBrains Maven Central cache redirector for test projects in CI Use JetBrains Maven Central cache redirector in all Gradle scripts Use JetBrains Maven Central cache redirector in Gradle scripts
Vladimir Mazunin (mazunin-v-jb)
force-pushed
the
v.mazunin/429-error-teamcity
branch
from
October 13, 2026 23:39
e89ed0d to
d6d63df
Compare
Vladimir Mazunin (mazunin-v-jb)
requested review from
Ivan Matkov (MatkovIvan) and
Victor Kropp (kropp)
October 13, 2026 23:45
Ivan Matkov (MatkovIvan)
approved these changes
Oct 14, 2026
Ivan Matkov (MatkovIvan)
left a comment
Contributor
There was a problem hiding this comment.
No blockers, just nitpicks
Contributor
There was a problem hiding this comment.
Can we reuse a single copy somehow?
Member
There was a problem hiding this comment.
Symbolic link should work fine on macOS and Linux, and there should be some setting to make it work on Windows too
Contributor
There was a problem hiding this comment.
yep - JetBrains/compose-multiplatform-core#2747
But It's probably out of scope here
Contributor
Author
There was a problem hiding this comment.
I've decided to use a single copy of that script without symlinks just in case
Victor Kropp (kropp)
approved these changes
Oct 14, 2026
…emoved copy of that script and updated references
Vladimir Mazunin (mazunin-v-jb)
requested a review
from Ivan Matkov (MatkovIvan)
October 14, 2026 12:37
Ivan Matkov (MatkovIvan)
approved these changes
Oct 14, 2026
…elpers` to mitigate rate limits during CI builds (for stage 5)
Vladimir Mazunin (mazunin-v-jb)
deleted the
v.mazunin/429-error-teamcity
branch
October 15, 2026 09:03
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.
Route Maven Central through cache-redirector where possible, to avoid Maven Central rate limits (HTTP 429) on CI.
https://cache-redirector.jetbrains.com/maven-central, and Gradle Plugin Portal goes last, because it forwards artifacts it doesn't host to Maven Central directly.cache-redirector.init.gradle, passed with--init-script) swaps direct Maven Central for the redirector, so the projects themselves stay clean.KOTLIN_DEFAULT_MAVEN_CENTRAL_URLinbuildWithKotlinToolchain.sh.centralrepository and plugin repository are overridden with the redirector.Fixes:
Received status code 429 from server: Too Many RequestsRelease Notes
N/A