Switch from Kodein to Koin (#1112)

* Switch from Kodein to Koin

* Ktlint
This commit is contained in:
Mitchell Syer
2024-11-14 18:08:19 -05:00
committed by GitHub
parent aa1e98544b
commit 0670f298cd
51 changed files with 341 additions and 465 deletions
+3 -6
View File
@@ -13,7 +13,7 @@ twelvemonkeys = "3.11.0"
graphqlkotlin = "6.8.5"
xmlserialization = "0.90.3"
ktlint = "1.3.1"
koin-bom = "4.0.0"
koin = "4.0.0"
[libraries]
# Kotlin
@@ -68,10 +68,7 @@ h2 = "com.h2database:h2:1.4.200" # current database driver, can't update to h2 v
exposed-migrations = "com.github.Suwayomi:exposed-migrations:3.2.0"
# Dependency Injection
kodein = "org.kodein.di:kodein-di-conf-jvm:7.20.2"
koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin-bom" }
koin-core = { module = "io.insert-koin:koin-core" }
koin-core = { module = "io.insert-koin:koin-core", version.ref = "koin" }
# tray icon
systemtray-core = "com.dorkbox:SystemTray:4.4"
@@ -175,7 +172,7 @@ shared = [
"serialization-json",
"serialization-json-okio",
"serialization-protobuf",
"kodein",
"koin-core",
"slf4japi",
"logback",
"kotlinlogging",