Skip to content

Move to new KMP Android Library plugin for KMP library modules#1278

Merged
mikepenz merged 3 commits intodevelopfrom
feature/android_kmp_plugin
Dec 20, 2025
Merged

Move to new KMP Android Library plugin for KMP library modules#1278
mikepenz merged 3 commits intodevelopfrom
feature/android_kmp_plugin

Conversation

@mikepenz
Copy link
Owner

  • migrate to the new android kmp library for kmp projects

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates KMP library modules to use the new Android KMP Library plugin (androidKmpLibrary), replacing the traditional android-library plugin approach. The migration involves restructuring build configurations to nest Android-specific settings within the Kotlin multiplatform DSL.

  • Updated version catalog from 0.10.3 to 0.10.4 to support the new plugin
  • Applied androidKmpLibrary plugin to KMP modules and moved Android configuration inside kotlin.android blocks
  • Removed screenshot testing plugin and associated dependencies from compose modules

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
settings.gradle.kts Bumps version catalog to 0.10.4 to enable new plugin support
build.gradle.kts Adds androidKmpLibrary plugin alias to root project configuration
aboutlibraries/build.gradle.kts Changes from kotlin-multiplatform to kotlin convention for Android-only module
aboutlibraries-core/build.gradle.kts Migrates to androidKmpLibrary plugin with Android config nested in kotlin.android block
aboutlibraries-compose/build.gradle.kts Migrates to androidKmpLibrary plugin, removes standalone android block and debug dependencies
aboutlibraries-compose-m3/build.gradle.kts Migrates to androidKmpLibrary plugin, removes screenshot plugin and associated dependencies
aboutlibraries-compose-m2/build.gradle.kts Migrates to androidKmpLibrary plugin, removes screenshot plugin and associated dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikepenz mikepenz merged commit c331712 into develop Dec 20, 2025
3 checks passed
@mikepenz mikepenz deleted the feature/android_kmp_plugin branch December 20, 2025 12:00
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.

2 participants