Why am I getting an unresolved reference here:
# coroutines
t
Why am I getting an unresolved reference here:
g
does it compile? looks as some IDE issue
t
@gildor no it doesn't.
@gildor it seems as though the plug in itself isn't working - but I did add what was necessary to build.gradle 😕
g
What kind error do you have?
t
@gildor this error: (there are more details.)
g
You need mavenCentral in repositories
also, are you sure that you use new Gradle?
it may be related to a fact that new versions of kotlinx.coroutines use Gradle Metadata, so it allows to use the same dependency for all platfroms
actually, now I’m checking your error message, and it looks that you just have space and ' in your dependency declaration
😅 1
t
@gildor Oops 😁
@gildor the problem seemed to be with my Kotlin verison - I updated it to 1.4.30 and it works now. 🙂 Thanks though.
g
I don't think that it's related to version of Kotlin
t
@gildor Well it was, if you have a look at the documentation it says it quite explicitly: Thanks for the help 👌