-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find a version of 'org.jetbrains.kotlinx:atomicfu' that satisfies the version constraints #469
Comments
I've found this: My project has 2 modules
Questions:
|
@GuilhE could you please share some project where the problem reproduces? It would help a lot with tracking the root cause down. |
Yes, you can try this: https://github.com/GuilhE/WhosNext just bump: |
Thanks! Adding an explicit dependency on atomicfu:0.25.0 to shared's commonMain dependencies seems to solve the issue:
But it's unclear to me where the problematic dependency on |
If I remember correctly, recently, the dependency configuration was moved from "lib dependency" to "plugin dependency" correct? In other words, it should not be necessary to add it as a commonMain dependency. 🤔 |
That's correct. And that's how the project got |
@fzhinkin I've another project and I've noticed the same
So, is it |
@GuilhE Yes, the dependency on I guess, the problem has something to do with that fact that AtomicFU plugin works only with Kotlin JVM and Multiplatform plugins, but it does not support Android Gradle plugin. So, I was wrong about
as it should not be configured by the plugin (or, to be more precise, that dependency should only be added to native targets). I'm yet to figure out how |
Should I submit a request for the |
Updating version in Compose won't solve the problem in general. So I don't think this issue should drive version updates in Compose. |
Related issue: #145 |
Related YouTrack issue: https://youtrack.jetbrains.com/issue/CMP-5831 |
atomicfu
was already on0.25.0
and working, but suddenly when running for Android I'm getting:project
build.gradle
:shared
build.gradle
:No problem running for iOS, Desktop and Wasm.
ps: I've checked if any of other dependencies uses
atomicfu
and they do, but none on0.23.2
they are on0.24.0
. And as I said it was already working. The only change was bumping Kotlin version, but I've rolledback and the problem still remains. Cleaned all caches too. 🤷🏼The text was updated successfully, but these errors were encountered: