Skip to content

build: Configure JitPack publishing for core modules#4366

Merged
jamesarich merged 1 commit into
mainfrom
chore/pub3
Jan 29, 2026
Merged

build: Configure JitPack publishing for core modules#4366
jamesarich merged 1 commit into
mainfrom
chore/pub3

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit prepares the project for publishing core library modules (api, model, proto) to JitPack. It updates the build configuration to publish only these specific modules and adjusts the example app to consume them from JitPack, confirming the setup.

Key Changes:

  • JitPack Configuration (jitpack.yml):
    • The install step now explicitly targets publishToMavenLocal for the :core:api, :core:model, and :core:proto modules.
    • Adds group: org.meshtastic to define the Maven group ID for the published artifacts.
  • Example App Dependencies:
    • The mesh_service_example module now pulls core dependencies from JitPack using the main-SNAPSHOT version instead of referencing local project modules.
  • Build Plugins:
    • The maven-publish plugin has been removed from the AndroidLibraryConventionPlugin and KmpLibraryConventionPlugin to prevent all modules from being published by default.

This commit prepares the project for publishing core library modules (`api`, `model`, `proto`) to JitPack. It updates the build configuration to publish only these specific modules and adjusts the example app to consume them from JitPack, confirming the setup.

### Key Changes:
- **JitPack Configuration (`jitpack.yml`):**
    - The `install` step now explicitly targets `publishToMavenLocal` for the `:core:api`, `:core:model`, and `:core:proto` modules.
    - Adds `group: org.meshtastic` to define the Maven group ID for the published artifacts.
- **Example App Dependencies:**
    - The `mesh_service_example` module now pulls core dependencies from JitPack using the `main-SNAPSHOT` version instead of referencing local project modules.
- **Build Plugins:**
    - The `maven-publish` plugin has been removed from the `AndroidLibraryConventionPlugin` and `KmpLibraryConventionPlugin` to prevent all modules from being published by default.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich merged commit 8f97952 into main Jan 29, 2026
6 checks passed
@jamesarich jamesarich deleted the chore/pub3 branch January 29, 2026 21:41
@codecov

codecov Bot commented Jan 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (e46cb27) to head (4a89169).
⚠️ Report is 11 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4366   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         28      28           
  Branches       8       8           
=====================================
  Misses        28      28           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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