https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

sdeleuze

09/04/2018, 2:22 PM
@elizarov Do you plan to release an updated
kotlinx.coroutines
EAP in order to avoid the pre-release warnings with Kotlin 1.3-M2?
i

ilya.gorbunov

09/04/2018, 2:23 PM
0.25.1-eap13
version should be used with 1.3-M2
s

sdeleuze

09/04/2018, 2:24 PM
Ok thanks!
Hum, same warnings than
0.25.0-eap13
I was using previously
I can add
"-Xskip-metadata-version-check"
to my build
It fix the build on Gradle
But in IDEA still a lots of errors
Error:(19, 36) Kotlin: Class 'kotlinx.coroutines.channels.ReceiveChannel' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
Has
0.25.1-eap13
been compiled with Kotlin
1.3-M1
?
i

ilya.gorbunov

09/04/2018, 2:55 PM
No, it was compiled with 1.3-M2
Do you have 1.3-M2 plugin in IDEA?
s

sdeleuze

09/04/2018, 2:56 PM
Yes
In IDEA https://github.com/spring-projects/spring-fu
master
generates a lot of warnings
I will try to invalidate cache
i

ilya.gorbunov

09/04/2018, 3:18 PM
I've changed
coroutinesVersion=0.25.1-eap13
in your gradle.properties and it builds fine without
-Xskip-metadata-version-check
option
s

sdeleuze

09/04/2018, 3:19 PM
Indeed, I had to invalidate the cache and restart
Thanks for your help
4 Views