Fix Maven Central publication metadata#130
Merged
AhmedNMahran merged 1 commit intomainfrom Mar 8, 2026
Merged
Conversation
ahmedre
approved these changes
Mar 8, 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
This updates the publishing configuration so
mobile-synccan be published consistently to Maven Central as a single top-level Android/KMP artifact for downstream consumption.What changed
gradle.propertiesmobile-datatomobile-syncsync-pipelinesmutations-definitionsumbrellapublication coordinates so it no longer publishes assyncenginesync-pipelinestomobile-syncWhy
Before this change:
sync-pipelinesandmutations-definitionshad signing configured but were not opted into Maven Central publication0.0.3)umbrellawas configured with the wrong artifact id (syncengine)sync-pipelinesrather than a clean top-levelmobile-syncartifactResult
For Android consumers, the intended dependency is now:
implementation("com.quran:mobile-sync:0.0.3")The underlying modules (
auth,persistence,syncengine,mutations-definitions) remain published separately and are pulled transitively through the top-level artifact.Validation
authmutations-definitionspersistencesync-pipelinessyncengineumbrellasync-pipelinesgroupId = com.quranartifactId = mobile-syncversion = 0.0.3./gradlew publishToMavenLocalto validate publication wiringno configured signatory)Follow-up
Android consumers should only need:
implementation("com.quran:mobile-sync:0.0.3")However, because the top-level artifact depends transitively on the underlying published modules, releasing the full Android/KMP surface requires publishing them as well:
If we also want the iOS umbrella artifact on Maven Central, add: