refactor: switch from metro to koin
Honestly metro looks too overcomplicated and I still don't know how to use it properly. Switching to koin for now as I'm more comfortable with it.
This commit is contained in:
parent
53abaccd21
commit
2725342c3f
23 changed files with 165 additions and 199 deletions
|
|
@ -19,12 +19,13 @@ desugar = "2.1.5"
|
|||
hcaptcha = "4.4.0"
|
||||
junit = "4.13.2"
|
||||
kermit = "2.0.8"
|
||||
koin-bom = "4.2.0-RC1"
|
||||
koin-plugin = "0.3.0"
|
||||
kotlin = "2.3.0"
|
||||
kotlinx-coroutines = "1.10.2"
|
||||
ktor = "3.4.0"
|
||||
material3 = "1.11.0-alpha02"
|
||||
material3-adaptive = "1.3.0-alpha04"
|
||||
metro = "0.10.2"
|
||||
settings = "1.3.0"
|
||||
sqldelight = "2.2.1"
|
||||
|
||||
|
|
@ -54,6 +55,12 @@ desugar = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desuga
|
|||
hcaptcha-compose = { module = "com.github.hCaptcha.hcaptcha-android-sdk:compose-sdk", version.ref = "hcaptcha" }
|
||||
junit = { module = "junit:junit", version.ref = "junit" }
|
||||
kermit = { module = "co.touchlab:kermit", version.ref = "kermit" }
|
||||
koin-bom = { module = "io.insert-koin:koin-bom", version.ref = "koin-bom" }
|
||||
koin-compose = { module = "io.insert-koin:koin-compose" }
|
||||
koin-compose-viewmodel = { module = "io.insert-koin:koin-compose-viewmodel" }
|
||||
koin-compose-navigation3 = { module = "io.insert-koin:koin-compose-navigation3" }
|
||||
koin-core = { module = "io.insert-koin:koin-core" }
|
||||
koin-test = { module = "io.insert-koin:koin-test" }
|
||||
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
|
||||
kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
|
||||
kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "kotlinx-coroutines" }
|
||||
|
|
@ -62,7 +69,6 @@ ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
|
|||
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
|
||||
ktor-client-websockets = { module = "io.ktor:ktor-client-websockets", version.ref = "ktor" }
|
||||
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktor" }
|
||||
metrox-viewmodel-compose = { module = "dev.zacsweers.metro:metrox-viewmodel-compose", version.ref = "metro" }
|
||||
settings = { module = "com.russhwolf:multiplatform-settings-no-arg", version.ref = "settings" }
|
||||
|
||||
[plugins]
|
||||
|
|
@ -71,7 +77,7 @@ androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
|||
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
||||
composeHotReload = { id = "org.jetbrains.compose.hot-reload", version.ref = "compose-hot-reload" }
|
||||
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose-multiplatform" }
|
||||
koinCompiler = { id = "io.insert-koin.compiler.plugin", version.ref = "koin-plugin" }
|
||||
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
||||
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
metro = { id = "dev.zacsweers.metro", version.ref = "metro" }
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue