How to add DI to Intellij plugin

I was experimenting with Dependency Injection for an IntelliJ plugin and my first thought was, “A plugin is just a JVM program, can’t we use Dagger or Koin?” So, I started experimenting with Koin, as it seemed easier for such projects. I added Koin to the dependencies as I do for any Gradle project, and it worked fine. However, I soon saw the challenges of this approach. Like any DI, you need a starting point to initiate the framework, and for Koin, this means calling:

Read More