Reputation: 2628
I have recently removed jcenter()
repository from the project-level build Gradle.
Since then Koin (version: 2.2.2) started giving me the compile-time error below:
Could not find org.koin:koin-core:2.2.2
Upvotes: 14
Views: 22015
Reputation: 2628
Adding mavenCentral
repository instead of jcenter
and updating the version of Koin to 3.0.1
solved the issue.
Do not forget to update the dependencies from org.koin
to io.insert-koin
as well.
Upvotes: 19
Reputation: 3511
Now use implementation "io.insert-koin:koin-core:3.0.1"
and remove jcenter
from project build.gradle
Upvotes: 11