Migrate from services.gradle.org to downloads.gradle.org#6823
Merged
Migrate from services.gradle.org to downloads.gradle.org#6823
Conversation
services.gradle.org now returns 301 redirects to downloads.gradle.org. Update all distribution and version API URLs to use the new canonical domain directly, avoiding unnecessary redirect hops. The old services.gradle.org domain is still accepted in existing wrapper properties files for backward compatibility.
The /versions/all endpoint does not exist on downloads.gradle.org (returns 404), so GRADLE_VERSIONS_ALL_URL must remain on services.gradle.org while distribution URLs use downloads.gradle.org.
…e.org The /versions/all API on services.gradle.org returns download URLs using the services.gradle.org domain. These URLs need to be rewritten to downloads.gradle.org to match the migration.
steve-aom-elliott
approved these changes
Feb 26, 2026
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.
Summary
services.gradle.orgnow returns 301 redirects todownloads.gradle.org. Updated all distribution and version API URLs to use the new canonical domain directly, avoiding unnecessary redirect hops.services.gradle.orgdomain is still accepted in existing wrapper properties files for backward compatibility via astartsWithcheck inGradleWrapper.determineGradleVersion.gradle-wrapper.properties.Test plan
./gradlew :rewrite-gradle:testpasses (integration tests hit livedownloads.gradle.orgendpoints)services.gradle.orgwrapper URLs are still handled correctly (backward compat via dualstartsWithcheck)