Update JVM metadata version to 1.5.0

Improve the test which checks that we use correct metadata version if
`-language-version` is passed by checking all supported language
versions.

The change in libraries/reflect/build.gradle.kts is needed because
kotlinx-metadata-jvm of version 0.1.0 is based on pre-1.4 Kotlin, which
doesn't support the new module file metadata generated with metadata
version 1.4 and later, and module files need to be readable there to be
able to transform them for the shadow plugin.

Similarly override dependency on kotlinx-metadata-jvm in the
binary-compatibility-validator module.
This commit is contained in:
Alexander Udalov
2021-02-15 18:07:38 +01:00
parent dbadd5846a
commit 8c95b78346
6 changed files with 57 additions and 17 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ description = "Kotlin Full Reflection Library"
buildscript {
dependencies {
classpath("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.1.0")
classpath("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.2.0")
}
}