https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

spierce7

03/18/2020, 5:06 PM
My company is in the process of trying to migrate from the individual platform plugins to the
multiplatform
plugin. We are migrating one module at a time. We’re seeing a crash when running tests:
Copy code
Unable to find a matching variant of com.rallyhealth.store:store:0.1.9:
          - Variant 'android-debugApiElements' capability com.rallyhealth.store:store:0.1.9:
              - Incompatible attribute:
                  - Required org.jetbrains.kotlin.platform.type 'jvm' and found incompatible value 'androidJvm'.
com.rallyhealth.store is a private lib. Does anyone know anything about this?
l

Liliia

03/19/2020, 10:47 AM
I’d recheck if everything matches fine with regard to this section: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#disambiguating-targets. Seems like the spicialized attributes are different for your dependencies.
3 Views