Skip to content

feat(android): publish io.customer.android:jist via shared publishing plugin#35

Draft
mahmoud-elmorabea wants to merge 1 commit into
mainfrom
android-maven-publish
Draft

feat(android): publish io.customer.android:jist via shared publishing plugin#35
mahmoud-elmorabea wants to merge 1 commit into
mainfrom
android-maven-publish

Conversation

@mahmoud-elmorabea

Copy link
Copy Markdown
Contributor

Publishes the Android renderer to Maven Central as io.customer.android:jist by consuming the shared io.customer.android.publish-* convention plugins from customerio/mobile-ci-tools#10.

Changes

  • android/build.gradle.kts: apply io.customer.android.publish-root (root) + declare publish-module.
  • android/jist/build.gradle.kts: apply io.customer.android.publish-module + customerIoPublish { artifactId = "jist" … }.
  • android/settings.gradle.kts: -PuseLocalPublishPlugin dev override (includeBuild of a sibling mobile-ci-tools checkout), for development before the plugin is on Maven Central.
  • .github/workflows/android-publish.yml: manual (workflow_dispatch) Sonatype staging publish using the shared setup-android action. No automated release trigger yet (follow-up).

Validated locally

Via the includeBuild override, publishReleasePublicationToMavenLocal produces io.customer.android:jist with AAR + sources + correct POM (MIT, jist url, SCM).

⚠️ Expected to fail in CI for now

The plugin isn't published to Maven Central yet, so resolving id("io.customer.android.publish-root") version "0.1.0" will fail until mobile-ci-tools#10 merges and the plugin is published. This PR is up for review of the consumer wiring. Requires OSSRH_* / SIGNING_* / SONATYPE_STAGING_PROFILE_ID secrets in this repo to actually publish.

🤖 Generated with Claude Code

… plugin

Consume customerio/mobile-ci-tools' io.customer.android.publish-* convention plugins to publish
the Android renderer to Maven Central as io.customer.android:jist.

- android/build.gradle.kts: apply publish-root (root) + declare publish-module.
- android/jist/build.gradle.kts: apply publish-module + customerIoPublish coordinates.
- android/settings.gradle.kts: -PuseLocalPublishPlugin dev override (includeBuild of a sibling
  mobile-ci-tools checkout) for development before the plugin is on Maven Central.
- .github/workflows/android-publish.yml: manual (workflow_dispatch) Sonatype staging publish
  using the shared setup-android action. No automated release trigger yet.

Validated locally via the includeBuild override: publishReleasePublicationToMavenLocal produces
io.customer.android:jist with AAR, sources, and correct POM. NOTE: CI will fail until the plugin
is published to Maven Central (or until mobile-ci-tools#10 merges and is consumed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant