not sure if this belongs here, but I’ve created a ...
# koin
w
not sure if this belongs here, but I’ve created a new project with kotlin 1.4 and pasted the gradle file that I used with 1.3.72 and I have this error only on the koin library.. what can be the cause? This is a multiplatform project
j
I believe you have to use
3.0.0-alpha-4
version when using Kotlin 1.4
w
unfortunately, same error 😞 searching for the first package error I looked at https://mvnrepository.com/artifact/co.touchlab/koin-core-iosx64 and there seems to be a “3.0.2-khan” version.. but shouldn’t this be handled by the metadata?
j
you might need to add
Copy code
maven { url = "<https://dl.bintray.com/ekito/koin>" }
to your lists of repositories
👍 1
(fwiw have example of it's usage in following https://github.com/joreilly/PeopleInSpace)
w
it worked, thanks! for some reasons, in the intelliJ template the “repository { }” part was in the root and not wrapped into the “allprojects { }“. Thanks 🙂
👍 1