c42cedc0d0
Consumer configurations with following set of attributes: * org.gradle.usage = 'kotlin-api' * org.jetbrains.kotlin.platform.type = 'common' are supposed to consume legacy `*.kotlin_metadata` artifacts. And can be consumed by HMPP project with "Compatibility Metadata Variant Enabled" flag. For such purpose `metadataCompileClasspath` configuration is configured with attributes mentioned above. There is no sense to consume such artifacts in HMPP projects without compatibility metadata variant. And in order to prevent breaking changes in KGP ecosystem, legacy configurations are reconfigured to consume new KLIB metadata artifacts. Instead of failing on resolution. ^KT-50925 Verification Pending