Skip to content

Conversation

@cdsap
Copy link
Member

@cdsap cdsap commented Nov 27, 2025

The JdkImageWorkaround is applied when a project uses either the com.android.application or com.android.library plugin. In a Kotlin Multiplatform environment, if the project applies com.android.library, the workaround is correctly applied.

However, starting with AGP 8.10, a new plugin has been introduced for Android libraries within Kotlin Multiplatform projects: com.android.kotlin.multiplatform.library. This plugin brings several enhancements, such as Single Variant builds and tests disabled by default.
Additionally, Java is disabled by default, but when it is explicitly enabled using withJava(), we have observed that even when the plugin is applied, the workaround is not triggered:
Screenshot 2025-11-26 at 5 39 07 PM
Build Scan

This PR adds support for the KMP Android Library plugin.

@cdsap cdsap marked this pull request as ready for review November 27, 2025 02:04
@cdsap cdsap requested a review from a team November 27, 2025 02:04
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