Kotlin's dependency on Jetbrains Annotations 13.0

Hello everyone,

I’ve recently bumped my version of kotlinx-coroutines-core-jvm from 1.6.4 to 1.8.0 and started to have conflicts between kotlin-stdlib’s annotations (which are set to 13.0 even up to the latest 2.0 beta) and the one requested by Coroutines since 1.7.0 (23.0).

Is there any reason why Kotlin is still on 13.0? Should we just resolve to whatever latest version exists in the project (23.0) or even take a dependency on the highest version available (24.1.0)?

Thank you

Hugo

1 Like

I would also like to know why these are different and what to do about it. Note that the coroutines-core dependency also pulls in stdlib, meaning it pulls in both versions of the annotations. We run the enforcer plugin and its not happy about this.