I am getting an error when upgrading from kotlin 0.30.0 to 0.30.1.
Could not resolve all files for configuration ':testing:login:debugCompileClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
Searched in the following locations:
- <omitted because internal maven repo>
Required by:
project :testing:login > org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.71 > org.jetbrains.kotlin:kotlin-stdlib:1.2.71
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
Searched in the following locations:
- <omitted because internal maven repo>
Required by:
project :testing:login > org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.1 > org.jetbrains.kotlinx:kotlinx-coroutines-core-common:0.30.1
> Could not find org.jetbrains.kotlin:kotlin-stdlib-common:1.3.0-rc-131.
Searched in the following locations:
- <omitted because internal maven repo>
Required by:
project :testing:login > org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.1 > org.jetbrains.kotlinx:kotlinx-coroutines-core-common:0.30.1 > org.jetbrains.kotlinx:atomicfu-common:0.11.10
Why does 0.30.1 require kotlin 1.3, but 0.30.0 does not. Is this intentional?
Note: I do not want to use 1.3 at all, and currently want to stay on a 1.2.x version.
I have the same problem with my project. What is the last version compatible with Kotlin 1.2.71?
I have the same problem with my project. What is the last version compatible with Kotlin 1.2.71?
0.30.0
It _is_ compatible and it is not intentional. It is an accidental leak of dependencies. You workaround it in this way in your dependencies section:
compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") {
exclude group: "org.jetbrains.kotlinx", module: "atomicfu-common"
}
Most helpful comment
It _is_ compatible and it is not intentional. It is an accidental leak of dependencies. You workaround it in this way in your dependencies section: