COMPATIBILITY_PROBLEMS: Compatibility problems detected

I am getting this with the 2.2.2-SNAPSHOT and verifier 1.381
Abstract method kotlinx.serialization.internal.GeneratedSerializer.typeParametersSerializers() : KSerializer is not implemented details

(Abstract method kotlinx.serialization.internal.GeneratedSerializer.typeParametersSerializers() : KSerializer is not implemented, Concrete class

any idea?

Thanks

This is my gradle properties:

pluginSinceBuild=251.21418.62
pluginUntilBuild=251.*
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#intellij-extension
platformType=IC
platformVersion=251-EAP-SNAPSHOT
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
#platformPlugins=Git4Idea, java, com.intellij.tasks,org.jetbrains.plugins.github , org.jetbrains.plugins.gitlab
platformBundledPlugins=Git4Idea,org.jetbrains.plugins.yaml,com.intellij.tasks,com.intellij.modules.json
# Gradle Releases -> https://github.com/gradle/gradle/releases
gradleVersion=8.12.1

@jakub.chrzanowski I found the root of this -
when I changed this in my build.gradle.kts:
compileOnly(“org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3”)
to
compileOnly(“org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.0”)

reverted and all worked

org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3 is part of platform, why do you specify it explicitly?

Isn’t that what we just discussed here:

Delivering the serialization library in an older version than the IntelliJ Platform Gradle Plugin uses, breaks the Gradle script, incl. the Gradle plugin.

And to be precise – the compileOnly you mention is applied to the Gradle build script’s dependencies, not the actual project’s dependencies?

If I remove this line from my build.gradle.kts:

  compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")

compilation failed on:

e:  Your current kotlinx.serialization core version is 2.1.0, while current Kotlin compiler plugin unknown requires at least 1.0-M1-SNAPSHOT. Please update your kotlinx.serialization runtime dependency.

those are the plugins:

plugins {
  alias(libs.plugins.kotlin) //`jvm-test-suite`
  alias(libs.plugins.intelliJPlatform)
  alias(libs.plugins.changelog)
  alias(libs.plugins.qodana)
  kotlin("plugin.serialization") version "2.1.0"
  alias(libs.plugins.kover)
}

and this the catalog:

[versions]
changelog = "2.2.1"
intelliJPlatform = "2.2.2-SNAPSHOT"
kotlin = "2.1.0"
kover = "0.9.1"
qodana = "2024.3.4"
mockkTest = "1.13.16"
kotlinTest = "1.10.1"

It is not the same issue - I removed the buildSrc completely