write
Writes the metadata of the Kotlin module file.
Parameters
metadata Version
metadata version to be written to the metadata (see Metadata.metadataVersion), KotlinClassMetadata.COMPATIBLE_METADATA_VERSION by default
Throws
if kmModule is not correct and cannot be written or if metadataVersion is not supported for writing.