Skip to content

Commit

Permalink
Migrating from hilt to koin (This) (openMF#1764)
Browse files Browse the repository at this point in the history
* Migrating from hilt to koin

* Fixed Instance creation error

* refactor: Removed Hilt and migrated to Koin

This commit removes Hilt and migrates the project to Koin for dependency injection.

The following
 changes were made:

- Removed the `AndroidHiltConventionPlugin`.
- Added the `AndroidKoinConventionPlugin`.
- Updated dependencies to use Koin.
- Updated KSP configuration for Koin.
- Updated feature modules to use Koin.
- Updated common modules to use Koin
.
- Removed Hilt annotations and replaced them with Koin annotations.
- Updated ViewModels to use Koin for dependency injection.
- Updated modules to use Koin for dependency injection.

* Formatted Dependencies

* migrating from hilt to koin clean up commit

* Revert "migrating from hilt to koin clean up commit"

This reverts commit bb63058.

---------

Co-authored-by: Sk Niyaj Ali <[email protected]>
  • Loading branch information
Nagarjuna0033 and niyajali committed Nov 6, 2024
1 parent 09abe15 commit f260d8d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ import org.koin.core.module.dsl.viewModel
import org.koin.dsl.module
import org.mifospay.feature.faq.FAQViewModel

<<<<<<<< HEAD:feature/faq/src/main/kotlin/org/mifospay/feature/faq/di/FaqModule.kt
val FaqModule = module {

viewModel {
FAQViewModel()
}
}
========
dependencies { }
>>>>>>>> 35f52055 (Migrating from hilt to koin (This) (#1764)):feature/search/build.gradle.kts

0 comments on commit f260d8d

Please sign in to comment.