Rework DescriptorSerializerPlugin to be a part of Project's extensions
instead of statically registering it. Static registering can cause subtle errors when plugin implementation (e.g. SerializationDescriptorPluginForKotlinxSerialization) is registered from multiple classloaders: in multi-module with daemon compilation scenario #KT-41857 Fixed
This commit is contained in:
+2
-1
@@ -189,7 +189,8 @@ class NativeDistributionCommonizer(
|
||||
val serializer = KlibMetadataMonolithicSerializer(
|
||||
languageVersionSettings = LanguageVersionSettingsImpl.DEFAULT,
|
||||
metadataVersion = KlibMetadataVersion.INSTANCE,
|
||||
skipExpects = false
|
||||
skipExpects = false,
|
||||
project = null
|
||||
)
|
||||
|
||||
// 'targetsToCopy' are some targets with empty set of platform libraries
|
||||
|
||||
Reference in New Issue
Block a user