Basically, according to this:
https://github.com/JetBrains/compose-multiplatform/blob/44376fdf851f3a6091e565c52c[…]a8d2/gradle-plugins/buildSrc/src/main/kotlin/BuildProperties.kt the Compose plugin depends on kotlinx-serialization 1.2.1
I'm writing my own Gradle plugin for a project built on top of Compose, and I'm using another library which depends on serialization. I'd like to upgrade that library to the most recent version (to fix a reported security issue), but it's using something introduced in a later version of serialization. However, when the Compose plugin is applied first, the older version of serialization is pulled in, which then causes my plugin to crash when it applies and tries parsing something indirectly via that library.