Open
Description
atomicfu
was already on 0.25.0
and working, but suddenly when running for Android I'm getting:
Execution failed for task ':shared:compileDebugKotlinAndroid'.
> Error while evaluating property 'friendPathsSet$kotlin_gradle_plugin_common' of task ':shared:compileDebugKotlinAndroid'.
> Could not resolve all files for configuration ':shared:debugCompileClasspath'.
> Could not resolve org.jetbrains.kotlinx:atomicfu:0.25.0.
Required by:
project :shared
> Cannot find a version of 'org.jetbrains.kotlinx:atomicfu' that satisfies the version constraints:
Dependency path ':shared:unspecified' --> 'org.jetbrains.kotlinx:atomicfu:0.25.0'
Constraint path ':shared:unspecified' --> 'org.jetbrains.kotlinx:atomicfu:{strictly 0.23.2}' because of the following reason: version resolved in configuration ':shared:debugRuntimeClasspath' by consistent resolution
project build.gradle
:
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlinx.compose) apply false
alias(libs.plugins.kotlinx.compose.compiler) apply false
alias(libs.plugins.kotlinx.atomicfu) apply false
}
shared build.gradle
:
plugins {
...
alias(libs.plugins.kotlinx.atomicfu)
//id("org.jetbrains.kotlinx.atomicfu") version "0.25.0" // -> this fails too
}
No problem running for iOS, Desktop and Wasm.
ps: I've checked if any of other dependencies uses atomicfu
and they do, but none on 0.23.2
they are on 0.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. 🤷🏼
Metadata
Assignees
Type
Projects
Status
Todo