Hi! Please, about 1.4-M3, I would be very grateful...
# eap
r
Hi! Please, about 1.4-M3, I would be very grateful if someone could confirm if this a mistake from transitive dependencies:
Copy code
+--- org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable:1.4-M3
|    +--- org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.4-M3
|    |    +--- org.jetbrains.kotlin:kotlin-scripting-common:1.4-M3
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.4-M3
|    |    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.4-M3
|    |    |    |    \--- org.jetbrains:annotations:13.0
|    |    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7  <-------------------------------------
|    |    +--- org.jetbrains.kotlin:kotlin-scripting-jvm:1.4-M3
|    |    |    +--- org.jetbrains.kotlin:kotlin-script-runtime:1.4-M3
|    |    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.4-M3 (*)
|    |    |    \--- org.jetbrains.kotlin:kotlin-scripting-common:1.4-M3 (*)
|    |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.4-M3 (*)
|    |    \--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7  <------------------------------------------
|    \--- org.jetbrains.kotlin:kotlin-stdlib:1.4-M3 (*)
According to https://kotlinlang.org/eap/#build-details the compatible version of
kotlinx.coroutines
is
1.3.7-1.4-M3
.
Thanks in advance!!
g
KotlinX libraries are not published to Kotlin repo, they have own repository https://dl.bintray.com/kotlin/kotlinx/
e
For JVM-only project you don’t have to use
-1.4-
version. It is all compatible in JVM.
r
Thank you so much @gildor, @elizarov 🙌
I managed to have just this difference about dependencies in a small project with a function and a test for that function (using plain JUnit). It works without the compiler plugin. However, when having that compiler plugin (which is compiled with
1.4-M3
) and the same source code (I'm not expecting any of the features from the compiler plugin), this error raises for the test class:
is compiled by a new Kotlin compiler backend and cannot be loaded by the old compiler
Please, could you provide any clue to solve it? Thanks in advance!!