Stitch is a Kotlin Multiplatform dependency injection library built to combine Dagger-like performance with Koin-like flexibility.
This first stable release marks Stitch's official publication to Maven Central.
Highlights
- Precompiled path for top-tier injection performance.
- Runtime registration path for dynamic module registration.
- Parent-child scope dependencies in the runtime path.
- Custom qualifier support in the precompiled path.
- Migration guide for Dagger 2, Hilt, and Koin.
- Benchmark charts and measurement docs for injection performance, APK size impact, and build-time impact.
Gradle Setup
Runtime registration path
implementation("io.github.harrytmthy:stitch:1.0.0")Precompiled path
implementation("io.github.harrytmthy:stitch:1.0.0")
compileOnly("io.github.harrytmthy:stitch-annotations:1.0.0")
ksp("io.github.harrytmthy:stitch-ksp:1.0.0")Authored with care by Harry Timothy Tumalewa
If you like this library or find it helpful, consider starring ⭐ the repo to support its visibility!