https://kotlinlang.org logo
#kotlinx-html
Title
# kotlinx-html
m

Michael Strasser

07/03/2023, 4:09 AM
Does version 0.9.0 require minimum JVM version 11? Upgrading Kotest HTML Reporter causes compile errors with
Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8
. Kotest HTML Reporter sets minimum JVM version to 1.8. I will check the minimum version of Kotest JVM itself.
It looks like this commit causes Kotlin to emit JVM 11 code instead of JVM 8, i.e.:
Copy code
implementation(kotlin("stdlib-jdk8"))
to
Copy code
implementation(kotlin("stdlib"))
But Kotlin docs suggest 1.8 is the default.
(I had added this post to the wrong thread yesterday.)
4 Views