hilt-to-koin-migration

Installation
SKILL.md

Migrating dependency injection to a multiplatform container

The motive is reach, not ergonomics. Hilt generates Android-specific code; Dagger's processor is general JVM but is still a Java annotation processor. Neither runs against a commonMain source set compiled for JVM/desktop and iOS, so once shared modules must be injected on more than one platform a multiplatform runtime container is the only way to keep one wiring for all targets. Do not sell it internally as "less boilerplate" — you trade a compile-time-verified graph for a runtime one, which is a real cost (see the first trap).

The mechanical mapping

Installs
2
GitHub Stars
35
First Seen
6 days ago
hilt-to-koin-migration — maxrave-dev/kotlin-footguns