Hi, I found this gradle property in kotlinx.corout...
# multiplatform
l
Hi, I found this gradle property in kotlinx.coroutines repo:
kotlin.mpp.enableCompatibilityMetadataVariant=true
What does it do exactly? I'm interested because I'm in the process of testing publishing and consumption of multiplatform libraries (Android, native, JS and JVM).
o
If I understand correctly (from kotlin code and some info in the internet) it needed if you are enabling HMPP (
enableGranularSourceSetsMetadata=true
) and want to allow users which don't use HMPP to consume your library
👍 1
l
@elizarov Can you confirm? Anything to add? Also, is it related to that issue?
e: Could not find "kotlinx-coroutines-core_concurrentMain"
https://kotlinlang.slack.com/archives/C1CFAFJSK/p1597886480055300
e
Yes. It makes it compatible with non-HMPP consumers, generating old-style metadata, too.
👌 5
w
what is HMPP?
1
l
@william Hierarchical Multiplatform Projects
👍 2
m
Any reason this is not the default? It feels like this is what most people want?
👀 1