Skip to content

Fix: KMP publishing#114

Open
jacob-derynk wants to merge 3 commits intomasterfrom
fix/multiplatform-publishing
Open

Fix: KMP publishing#114
jacob-derynk wants to merge 3 commits intomasterfrom
fix/multiplatform-publishing

Conversation

@jacob-derynk
Copy link
Contributor

This PR refactors the publishing setup for the library and library-compose modules, moving project-specific POM metadata from gradle.properties files directly into the module-level build.gradle.kts files using the mavenPublishing extension.

Key changes:

  • Removed legacy POM_* properties from gradle.properties files in the root and library modules.
  • Configured explicit coordinates and pom metadata within library/build.gradle.kts and library-compose/build.gradle.kts.
  • Updated androidTarget in library-compose to publish both release and debug variants.
  • Simplified root gradle.properties by removing redundant publishing and signing configurations.
  • Removed the explicit KotlinMultiplatform() configuration call in library-compose in favor of manual coordinate and POM setup.
  • Set group = "app.futured.donut" in both the legacy View library and the Compose library modules.

This commit refactors the publishing setup for the `library` and `library-compose` modules, moving project-specific POM metadata from `gradle.properties` files directly into the module-level `build.gradle.kts` files using the `mavenPublishing` extension.

Key changes:
- Removed legacy `POM_*` properties from `gradle.properties` files in the root and library modules.
- Configured explicit `coordinates` and `pom` metadata within `library/build.gradle.kts` and `library-compose/build.gradle.kts`.
- Updated `androidTarget` in `library-compose` to publish both `release` and `debug` variants.
- Simplified root `gradle.properties` by removing redundant publishing and signing configurations.
- Removed the explicit `KotlinMultiplatform()` configuration call in `library-compose` in favor of manual coordinate and POM setup.
This commit adds the `group` property to `library/build.gradle.kts` and `library-compose/build.gradle.kts` to define the Maven artifact group.

Key changes:
- Set `group = "app.futured.donut"` in both the legacy View library and the Compose library modules.
@jacob-derynk jacob-derynk self-assigned this Jan 7, 2026

androidTarget {
publishLibraryVariants("release")
publishLibraryVariants("release", "debug")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

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.

2 participants