Mikołaj Kąkol
10/14/2020, 12:05 PMcompile "org.jetbrains.kotlinx:atomicfu-common:0.14.4"
now my build on ios fails, any suggestion
Execution failed for task ':shared:compileKotlinIos'.
> Could not resolve all files for configuration ':shared:iosCompileKlibraries'.
> Could not resolve org.jetbrains.kotlinx:atomicfu-common:0.14.4.
Required by:
project :shared
> No matching variant of org.jetbrains.kotlinx:atomicfu-common:0.14.4 was found. The consumer was configured to find a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.native.target' with value 'ios_x64' but:
- Variant 'metadata-api' capability org.jetbrains.kotlinx:atomicfu-common:0.14.4:
- Incompatible because this component declares a usage of 'kotlin-metadata' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native'
- Other compatible attribute:
- Doesn't say anything about org.jetbrains.kotlin.native.target (required 'ios_x64')
- Variant 'metadata-commonMainMetadataElements' capability org.jetbrains.kotlinx:atomicfu-common:0.14.4 declares a usage of 'kotlin-api' of a component:
...
mike.holler
10/14/2020, 4:27 PMkotlinx.coroutines
had the mutex and semaphore implementations I needed, and were better for my use case.Mikołaj Kąkol
10/14/2020, 4:32 PMmike.holler
10/14/2020, 4:39 PMmike.holler
10/14/2020, 4:39 PMkotlinx.coroutines
is stable which is super appealing.mike.holler
10/14/2020, 4:39 PM