refactor: Replace Injekt with Koin (Experiment) (#191)

* refactor: Use Koin

An experiment, aims to ditch Injekt and replace it with Koin while providing Injekt API facade for extensions

* fix: Mimic "InjektScope"

* fix: Mimic more classes

Completely fixed source search

* refactor(deps): Use Injekt-Koin library

* fix(r8): Keep Koin
This commit is contained in:
Ahmad Ansori Palembani 2024-09-19 13:18:02 +07:00 committed by GitHub
parent bc65f17f60
commit 9d858cc810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 182 additions and 192 deletions

View file

@ -33,7 +33,9 @@ kotlin {
androidMain {
dependencies {
// Dependency injection
api(libs.injekt.core)
api(project.dependencies.platform(libs.koin.bom))
api(libs.koin.core)
api(libs.koin.injekt)
// Network client
api(libs.okhttp)