Hi
I'm using Koin annotations 2.0 with K2 and the code is being generated on desktopMain, I've managed to fix it with an old workaround but it's not mentioned in the docs and I think that we shouldn't need it.
Copy code
tasks.withType<KotlinCompilationTask<*>>().configureEach {
if (name != "kspCommonMainKotlinMetadata") {
dependsOn("kspCommonMainKotlinMetadata")
}
}