Our Experience Migrating From Dagger to Koin

Note: This was assembled with Koin version 2.0.1. More recent versions have changed some things. Refer to the official documentation for more information.

Context

Our team has a legacy project, started by a team from another company, with other standards, practices, experiences, and so on. This project was initially set up with Dagger as a dependency injection mechanism and is not modularised. As the project grew, so did the compilation times. When it got to the point where compiling the project could take more than ten minutes, we decided to see what we could do about it.