work around, I set the plugin for ksp in the main build.gradle.kts gradle file, this forces MocKMP to use compatible ksp version,
didn't want to go route of adding ksp directly like in your docs
plugins {
//trick: for the same plugin versions in all sub-modules
id("com.google.devtools.ksp") version "1.7.20-Beta-1.0.6"
I had some issues that let MocKMP not to generate the mock classes for me.
java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.codegen.state.KotlinTypeMapper.(org.jetbrains.kotlin.resolve.BindingContext, org.jetbrains.kotlin.codegen.ClassBuilderMode, java.lang.String, org.jetbrains.kotlin.config.LanguageVersionSettings, boolean, org.jetbrains.kotlin.config.JvmTarget, boolean, kotlin.jvm.functions.Function1, kotlin.jvm.functions.Function1, int, kotlin.jvm.internal.DefaultConstructorMarker)'
work around, I set the plugin for ksp in the main build.gradle.kts gradle file, this forces MocKMP to use compatible ksp version, didn't want to go route of adding ksp directly like in your docs plugins { //trick: for the same plugin versions in all sub-modules
}
after that it worked!
also this link was helpful https://github.com/google/ksp/issues/1050