Could not find "org.jetbrains.kotlinx:atomicfu-cinterop-interop" when using coroutines 1.8.0-RC #379
Labels
bug
gradle
regression
Major regressions that were not caught in advance and were discovered after the release
root-cause-defined
The root cause of the regression is defined and preventive steps are taken.
The following error was reproduced in projects, that depended solely on kotlinx.coroutines 1.8.0-RC and did not have a direct dependency to atomicfu:
The reason:
kotlinx.coroutines
were built with the latest version ofatomicfu-gradle-plugin
that does not provide a transitive dependency to atomicfu in case of enabled Native IR transformation. Though it is still required, because coroutines use declarations fromkotlinx.atomicfu.locks
module.That is a problem on kotlinx.atomicfu side, it should always add the implementation atomicfu dependency for native targets.
The WA is adding atomicfu dependency manually:
Also, see: Kotlin/kotlinx.coroutines#3968
The text was updated successfully, but these errors were encountered: