adjorno
05/07/2021, 7:29 AMThe consumer was configured to find an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release'. However we cannot choose between the following variants of security:multiplatform:1.0.0:
- jvmApiElements-published
- jvmRuntimeElements-published
- releaseApiElements-published
- releaseRuntimeElements-published
- Variant 'releaseApiElements-published' capability security:multiplatform:1.0.0 declares an API of a component, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release':
- Unmatched attributes:
- Provides attribute 'com.android.build.api.attributes.VariantAttr' with value 'release' but the consumer didn't ask for it
- Provides release status but the consumer didn't ask for it
- Provides attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but the consumer didn't ask for it
I would expect that Gradle would request for androidJvm platform so the dependency can be resolved. But it states that “consumer did not ask for it”. Does anybody know what is the issue and how to solve it.turansky
05/07/2021, 9:07 AMadjorno
05/10/2021, 7:57 AM