Allow to read metadata 2.0 from version 1.8
This commit is contained in:
+5
-2
@@ -697,12 +697,15 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
|
||||
}
|
||||
|
||||
fun testOldJvmAgainstFirWithStableAbi() {
|
||||
// TODO: looks like now it's not possible to compile library with version 2.0 to be able to compile against it without additional flags
|
||||
// Should we delete this test?
|
||||
val library = compileLibrary("library", additionalOptions = listOf("-language-version", "2.0", "-Xabi-stability=stable"))
|
||||
compileKotlin("source.kt", tmpdir, listOf(library))
|
||||
}
|
||||
|
||||
fun testOldJvmAgainstFirWithStableAbiAndNoPrereleaseCheck() {
|
||||
val library = compileLibrary("library", additionalOptions = listOf("-language-version", "2.0", "-Xabi-stability=stable"))
|
||||
compileKotlin("source.kt", tmpdir, listOf(library), additionalOptions = listOf("-Xskip-prerelease-check"))
|
||||
}
|
||||
|
||||
fun testOldJvmAgainstFirWithAllowUnstableDependencies() {
|
||||
val library = compileLibrary("library", additionalOptions = listOf("-language-version", "2.0"))
|
||||
compileKotlin("source.kt", tmpdir, listOf(library), additionalOptions = listOf("-Xallow-unstable-dependencies", "-Xskip-metadata-version-check"))
|
||||
|
||||
Reference in New Issue
Block a user