jean
06/02/2022, 7:34 PMError while evaluating property 'filteredArgumentsMap' of task ':compileKotlinMetadata'
> Could not resolve all files for configuration ':metadataCompileClasspath'.
> Could not resolve io.arrow-kt:arrow-core:1.1.2.
Required by:
project :
> The consumer was configured to find a usage of 'kotlin-api' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common'. However we cannot choose between the following variants of io.arrow-kt:arrow-core:1.1.2:
- iosArm32ApiElements-published
- iosArm64ApiElements-published
- iosSimulatorArm64ApiElements-published
- iosX64ApiElements-published
- jsApiElements-published
- jvmApiElements-published
- jvmRuntimeElements-published
- linuxX64ApiElements-published
- macosArm64ApiElements-published
- macosX64ApiElements-published
- mingwX64ApiElements-published
- tvosArm64ApiElements-published
- tvosSimulatorArm64ApiElements-published
- tvosX64ApiElements-published
- watchosArm32ApiElements-published
- watchosArm64ApiElements-published
- watchosSimulatorArm64ApiElements-published
- watchosX64ApiElements-published
- watchosX86ApiElements-published
this is my commonMain
val commonMain by getting {
dependencies {
implementation("io.arrow-kt:arrow-core:1.1.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1-native-mt")
}
}
Am I missing something here? I tried to add other multiplatform dependencies like ktor, and it did not have the same issue, it compiled just finesimon.vergauwen
06/06/2022, 1:12 PMsimon.vergauwen
06/06/2022, 1:12 PMjean
06/08/2022, 7:35 PMios()
shortcut.simon.vergauwen
06/16/2022, 1:15 PMsimon.vergauwen
06/23/2022, 12:59 PMkotlin.mpp.enableCompatibilityMetadataVariant=true
flag.
We're investigating how to solve atm.simon.vergauwen
06/23/2022, 1:00 PM