I think (well, my claude thinks, but I confirmed) there's a bug in intelliJ / KMM plugin:
on completely JVM multi-module project, if only KMM plugin is enabled (even if not used), it makes gradle sync failing on gradle wrapper 9.7.1
In debug log I got
13x No builders are available to build a model of type 'com.intellij.kmm.gradle.tooling.rt.cocoapods.models.XcodeCocoaPodsModel'
13x No builders are available to build a model of type 'org.jetbrains.compose.reload.gradle.idea.IdeaComposeHotReloadModel'
Apparently Gradle 9.7 added ResilientBuildToolingModelController, model-build failures are now recorded against the build result, not just handed back to the requester. KMM speculatively asks every project for two models it knows are usually absent. And in my project they're absent 26/26 times, as this repo has no KMP, no CocoaPods, no Compose. But under 9.7 they also sit in the models container's exception list. GradleProjectResolver.resolveProjectInfo:217 sees a non-empty exception list and throws ExternalSystemPartialResolutionException
The fix: Settings → Plugins → Installed → disable Kotlin Multiplatform, restart, sync
Can anyone confirm?