Skip to content

Fix: Configure multiplatform publishing for donut-compose#113

Merged
jacob-derynk merged 1 commit intomasterfrom
fix/multiplatform-publishing
Nov 6, 2025
Merged

Fix: Configure multiplatform publishing for donut-compose#113
jacob-derynk merged 1 commit intomasterfrom
fix/multiplatform-publishing

Conversation

@jacob-derynk
Copy link
Contributor

This commit updates the donut-compose library module to correctly configure it for Kotlin Multiplatform publishing.

Key changes:

  • Removed POM_PACKAGING=aar from gradle.properties as it's no longer an Android-only library.
  • Enabled multiplatform publishing by adding mavenPublishing { configure(KotlinMultiplatform()) } to build.gradle.kts.
  • Specified publishLibraryVariants("release") for the androidTarget to ensure only the release variant is published.

This commit updates the `donut-compose` library module to correctly configure it for Kotlin Multiplatform publishing.

Key changes:
- Removed `POM_PACKAGING=aar` from `gradle.properties` as it's no longer an Android-only library.
- Enabled multiplatform publishing by adding `mavenPublishing { configure(KotlinMultiplatform()) }` to `build.gradle.kts`.
- Specified `publishLibraryVariants("release")` for the `androidTarget` to ensure only the release variant is published.
@jacob-derynk jacob-derynk self-assigned this Oct 27, 2025
@jacob-derynk jacob-derynk merged commit 92c45a8 into master Nov 6, 2025
1 check passed
@jacob-derynk jacob-derynk deleted the fix/multiplatform-publishing branch November 6, 2025 08:37
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