Write flags to .kotlin_module files since metadata version 1.4
This value will be used for flags like pre-release (KT-21256) and other similar info
This commit is contained in:
@@ -135,7 +135,7 @@ open class MetadataSerializer(
|
||||
for (table in packageTable.values) {
|
||||
table.addTo(this)
|
||||
}
|
||||
}.build().serializeToByteArray(JvmMetadataVersion.INSTANCE.toArray()) // TODO: use another version here, not JVM
|
||||
}.build().serializeToByteArray(JvmMetadataVersion.INSTANCE, 0) // TODO: use another version here, not JVM
|
||||
// TODO: also, use CommonConfigurationKeys.METADATA_VERSION if needed
|
||||
|
||||
kotlinModuleFile.parentFile.mkdirs()
|
||||
|
||||
Reference in New Issue
Block a user