I built a plugin that adds KMP libraries to the right source sets for you: engines per platform, KSP for every target, Gradle plugins and version catalog entries, with a diff before anything changes. It also keeps Android-only libraries out of
commonMain
. Free:
plugins.jetbrains.com/plugin/35177. Feedback welcome!