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