Repository navigation
feat(native-shell-android): SD-04 — add Maven publishing - #1932
Conversation
Add maven-publish plugin with groupId=xyz.self.sdk, artifactId=native-shell-android, version=0.1.0. Verified: publishToMavenLocal succeeds, AAR contains no bundled web assets, POM includes correct runtime dependencies. Ref: SELF-2473
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (3)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- Add GitHubPackages maven repository to publishing block (credentials from GITHUB_ACTOR/GITHUB_TOKEN env or gpr.user/gpr.token properties) - Add publish-android-sdk.yml workflow (manual dispatch with version input) - Builds, tests, then publishes release AAR to GitHub Packages Ref: SELF-2473
Defaults to dry-run (publishToMavenLocal) so the workflow can be tested safely. Uncheck dry-run to publish to GitHub Packages. Ref: SELF-2473
|
@copilot review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Code Review — SD-04 Android Maven Publishing CI is green (Native Shells CI ✅, Publish Android SDK dry-run ✅). Below are the findings.
Summary Blocking: none — the implementation is functionally correct and CI passes. |
Summary
Implements SD-04 from SELF-2473 — add Maven publishing so integrators can add the native shell as a Gradle dependency.
build.gradle.kts— Addedmaven-publishplugin andpublishingblock withgroupId=xyz.self.sdk,artifactId=native-shell-android,version=0.1.0; added GitHub Packages repository with credentials resolved fromGITHUB_ACTOR/GITHUB_TOKENenv vars orgpr.user/gpr.tokenproject properties.github/workflows/publish-android-sdk.yml— New manual-dispatch workflow (workflow_dispatch) with aversionstring input and adry-runboolean (defaulttrue); dry-run publishes to Maven Local for validation, non-dry-run publishes the release AAR to GitHub PackagesTest plan
./gradlew publishToMavenLocal✅ BUILD SUCCESSFULUsage
Native Consolidation Checklist
cd app && yarn jest:run/yarn workspace @selfxyz/rn-sdk-test-app test)