简介
Migrate Kotlin / Android / KMP projects to Koin 4.x with the Koin Compiler Plugin: Hilt, Dagger 2, Toothpick, Kodein and Metro to Koin, Koin 3.x to 4.x, the Compiler Plugin added to a Koin DSL project (every DSL form compile checked, Classic included), and Koin KSP annotations to the Compiler Plugin. Progressive, module by module, keeping the old container running until the last binding moves. Use when the user wants to migrate, convert or switch DI frameworks, remove Hilt / Dagger / Toothpick / Kodein / Metro, upgrade Koin, move off KSP, make the Koin graph compile safe or verified at build time, convert Koin DSL to Compiler Plugin DSL, or pastes Hilt / Dagger / Toothpick / Kodein / Metro module code to convert — "replace Hilt with Koin", "move away from Dagger", "Kodein to Koin", "Metro to Koin", "Koin KSP to compiler plugin", "upgrade to Koin 4", "make Koin compile safe". Adding Koin to a project with no DI is koin-setup.