Remove JvmBytecodeBinaryVersion from the compiler code
Move it to build-common where it's still used in incremental compilation caches, and simplify a bit. In the future, it'll make sense to remove it completely and to avoid writing it to caches. In this commit, I don't do that to prevent the IC cache version to be updated, causing rebuilds for all JPS projects. #KT-41758
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
|
||||
package kotlinx.metadata.jvm
|
||||
|
||||
import org.jetbrains.kotlin.metadata.jvm.deserialization.JvmBytecodeBinaryVersion
|
||||
import org.jetbrains.kotlin.metadata.jvm.deserialization.JvmMetadataVersion
|
||||
|
||||
/**
|
||||
@@ -175,6 +174,6 @@ constructor(
|
||||
level = DeprecationLevel.ERROR
|
||||
)
|
||||
@JvmField
|
||||
val COMPATIBLE_BYTECODE_VERSION = JvmBytecodeBinaryVersion.INSTANCE.toArray().copyOf()
|
||||
val COMPATIBLE_BYTECODE_VERSION = intArrayOf(1, 0, 3)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user