Michael Friend
03/24/2025, 3:45 PMMyProjectService
which works, but when i add any ktor dependencies it fails to resolve the service at run time with this error even though my service has a Project, CoroutineScope
constructor. Here's a repo to reproduce the issue https://github.com/mrf7/ide-plugin
Caused by: com.intellij.platform.instanceContainer.instantiation.InstantiationException: Class 'class com.github.mrf7.ideplugin.services.MyProjectService' does not define any of supported signatures '[(Project)void, (Project,CoroutineScope)void, (CoroutineScope)void, ()void]'
bod
03/24/2025, 4:15 PMMichael Friend
03/24/2025, 4:17 PMMichael Friend
03/24/2025, 9:31 PMconfigurations.configureEach {
exclude(group = "org.jetbrains.kotlinx", module = "kotlinx-coroutines-core")
}
Michael Friend
03/24/2025, 9:32 PMbod
03/24/2025, 9:54 PM