Skip to content

chore: add KMP library convention plugin infra [WPB-23496]#4634

Merged
Garzas merged 5 commits intodevelopfrom
kubaz/chore/kmp-library-convention-plugin
Mar 12, 2026
Merged

chore: add KMP library convention plugin infra [WPB-23496]#4634
Garzas merged 5 commits intodevelopfrom
kubaz/chore/kmp-library-convention-plugin

Conversation

@Garzas
Copy link
Copy Markdown
Contributor

@Garzas Garzas commented Mar 9, 2026

https://wearezeta.atlassian.net/browse/WPB-23496


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

  • We need a shared convention plugin for KMP library modules.
  • Current build logic does not provide a single reusable setup for Android + iOS KMP targets.

Solutions

  • Added com.wire.android.kmp.library convention plugin in build-logic.
  • Plugin applies:
    • org.jetbrains.kotlin.multiplatform
    • com.android.kotlin.multiplatform.library
    • org.jetbrains.kotlin.plugin.compose
  • Plugin configures:
    • Android target (compileSdk, minSdk, jvmTarget=17)
    • iOS targets (iosX64, iosArm64, iosSimulatorArm64)
  • Updated version catalog:
    • AGP 9.0.0 -> 9.0.1
    • added wire-kmp-library alias

@Garzas Garzas requested review from MohamadJaara and saleniuk March 9, 2026 20:27
@Garzas Garzas self-assigned this Mar 9, 2026
@Garzas Garzas requested a review from sbakhtiarov March 10, 2026 10:26
@pull-request-size
Copy link
Copy Markdown

Ups 🫰🟨

This PR is too big. Please try to break it up into smaller PRs.

@sonarqubecloud
Copy link
Copy Markdown

@Garzas Garzas enabled auto-merge March 11, 2026 10:34
@sonarqubecloud
Copy link
Copy Markdown

@Garzas Garzas added this pull request to the merge queue Mar 12, 2026
Merged via the queue into develop with commit 50bccf5 Mar 12, 2026
14 checks passed
@Garzas Garzas deleted the kubaz/chore/kmp-library-convention-plugin branch March 12, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants