Hi folks, I'm trying to upgrade my libraries, from...
# koin
p
Hi folks, I'm trying to upgrade my libraries, from:
Copy code
# Koin
koin = "4.2.0-RC1"
koin-plugin = "0.3.0"
to:
Copy code
# Koin
koin = "4.2.0-RC2"
koin-plugin = "0.4.1"
But all my modules stopped to 'work' in compile time after I bump the libraries. I'm facing a lot of:
Copy code
[Koin] Missing dependency: com.x.money.features.cards.register.repository.CardsRepository
  required by: com.x.money.features.cards.list.viewmodel.CardsListViewModel (parameter 'repository')
  in module: CardsListModule
I'm using
kotlin = "2.3.20-Beta1"
m
Why still the Beta?
a
set the compile safty to false in that module
or annotate with Provided the dep coming from an other module
a
I was facing the same issue on the latest koin version:
Copy code
kotlin = "2.3.20"
koin-bom = "4.2.0"
koin-plugin = "0.4.1"
Somehow the koin is unable to validate dependencies being provided on different module at compile-time. I fixed it by disabling the compile-safety:
Copy code
koinCompiler {
    compileSafety = false
}
@Alexandru Caraus your answer is correct!