From ba38517d94bf546b1a2d2c0403221d8be89b7bbe Mon Sep 17 00:00:00 2001 From: Christine Coenen Date: Sun, 27 Oct 2024 14:33:47 +0100 Subject: [PATCH] Update koin to 4.0.0 --- app/build.gradle | 2 +- .../main/java/de/christinecoenen/code/zapp/app/KoinModules.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f6cc9ca2..7dbe6af4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -189,7 +189,7 @@ dependencies { implementation "com.mikepenz:aboutlibraries:$about_libraries_version" // koin dependency injection - def koin_version = '3.5.6' + def koin_version = '4.0.0' implementation "io.insert-koin:koin-android:$koin_version" androidTestImplementation "io.insert-koin:koin-test:$koin_version" testImplementation "io.insert-koin:koin-test:$koin_version" diff --git a/app/src/main/java/de/christinecoenen/code/zapp/app/KoinModules.kt b/app/src/main/java/de/christinecoenen/code/zapp/app/KoinModules.kt index 877f7e60..8284b70d 100644 --- a/app/src/main/java/de/christinecoenen/code/zapp/app/KoinModules.kt +++ b/app/src/main/java/de/christinecoenen/code/zapp/app/KoinModules.kt @@ -34,7 +34,7 @@ import kotlinx.coroutines.MainScope import okhttp3.OkHttpClient import org.koin.android.ext.koin.androidApplication import org.koin.android.ext.koin.androidContext -import org.koin.androidx.viewmodel.dsl.viewModel +import org.koin.core.module.dsl.viewModel import org.koin.dsl.bind import org.koin.dsl.module