-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
So I added the following dependency under common main, and cannot get gradle to sync properly with the following error in a Kotlin Multiplatform project with javascript. Any help would be greatly appreciated.
implementation("org.reduxkotlin:presenter-middleware:0.2.10")
Warning:<i><b>project ':SharedCode': Unable to build Kotlin project configuration</b>
Details: org.gradle.internal.operations.BuildOperationQueueFailure: There was a failure while populating the build operation queue: Could not resolve all dependencies for configuration ':SharedCode:jsNpm'.
Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':SharedCode:jsNpm'.
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve org.reduxkotlin:presenter-middleware:0.2.10.
Required by:
project :SharedCode
Caused by: org.gradle.internal.component.NoMatchingConfigurationSelectionException: No matching variant of org.reduxkotlin:presenter-middleware:0.2.10 was found. The consumer was configured to find a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js' but:
- Variant 'android-debugApiElements' capability org.reduxkotlin:presenter-middleware:0.2.10:
- 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'
- Variant 'android-debugRuntimeElements' capability org.reduxkotlin:presenter-middleware:0.2.10 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'android-releaseApiElements' capability org.reduxkotlin:presenter-middleware:0.2.10:
- 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'
- Variant 'android-releaseRuntimeElements' capability org.reduxkotlin:presenter-middleware:0.2.10 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'ios-api' capability org.reduxkotlin:presenter-middleware:0.2.10:
- Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'iosSim-api' capability org.reduxkotlin:presenter-middleware:0.2.10:
- Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'jvm-api' capability org.reduxkotlin:presenter-middleware:0.2.10:
- Incompatible because this component declares an API of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'jvm-runtime' capability org.reduxkotlin:presenter-middleware:0.2.10 declares a runtime of a component:
- Incompatible because this component declares a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'jvm' and the consumer needed a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'
- Variant 'metadata-api' capability org.reduxkotlin:presenter-middleware:0.2.10:
- Incompatible because this component declares a usage of 'kotlin-api' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'common' and the consumer needed a usage of 'kotlin-runtime' of a component, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'js'</i>
Metadata
Metadata
Assignees
Labels
No labels