ANDROID-16209 Migrate [android-nested-scroll-webview] from OSSRH to Central Portal#20
Merged
ANDROID-16209 Migrate [android-nested-scroll-webview] from OSSRH to Central Portal#20
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR migrates the Sonatype publishing setup from OSSRH to Sonatype Central Portal by updating the Gradle Nexus Publish Plugin and adjusting CI workflows.
- Update Gradle Nexus Publish Plugin to v2.0.0 and add Central Portal URLs
- Change GitHub Actions to invoke
closeAndReleaseStagingRepositoriesinstead of the old task
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| publish_maven_central.gradle | Added nexusUrl and snapshotRepositoryUrl for Central Portal |
| .github/workflows/snapshot.yml | Updated publish command to include closeAndReleaseStagingRepositories |
| .github/workflows/release.yml | Switched to closeAndReleaseStagingRepositories in release workflow |
Comments suppressed due to low confidence (2)
.github/workflows/snapshot.yml:26
- The
runcommand is split into a quoted multiline string, which breaks YAML parsing. Use a YAML multiline block (|) or combine it into a single line (escaping newlines) so the workflow is valid.
--max-workers 1 closeAndReleaseStagingRepositories"
.github/workflows/release.yml:23
- This
runline also uses an invalid quoted multiline string. Convert it to a YAML block (|) or ensure the entire command is on one properly quoted line.
--max-workers 1 closeAndReleaseStagingRepositories"
dagonco
approved these changes
Jul 2, 2025
yamal-alm
approved these changes
Jul 8, 2025
dagonco
approved these changes
Jul 8, 2025
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.
🎟️ Jira ticket
ANDROID-16209
🥅 What's the goal?
Migrate Sonatype publishing to Central Portal following the migration guide.
🚧 How do we do it?
📘 Documentation changes?
https://confluence.tid.es/pages/viewpage.action?spaceKey=CTO&title=Migration+from+OSSRH+to+Central+Portal#Updating+Open+Source+Projects
🧪 How can I test this?
Tested snapshot generated in one of our projects compilation.