Naveed
02/14/2022, 7:37 PMCould not determine the dependencies of task ':web:jsTestPackageJson'.
> Could not resolve all dependencies for configuration ':web:jsTestNpm'.
> Could not resolve org.jetbrains.compose.foundation:foundation:1.0.1-rc2.
Required by:
project :web > project :client-common
> No matching variant of org.jetbrains.compose.foundation:foundation:1.0.1-rc2 was found. The consumer was configured to find a usage of 'kotlin-runtime' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js', attribute 'org.jetbrains.kotlin.js.compiler' with value 'ir' but:
- Variant 'debugApiElements-published' capability org.jetbrains.compose.foundation:foundation:1.0.1-rc2 declares a library:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Other compatible attributes:
- Doesn't say anything about its target Java environment (preferred optimized for non-jvm)
- Doesn't say anything about org.jetbrains.kotlin.js.compiler (required 'ir')