trying to add Arrow 2.1.0 to one of our repos and ...
# arrow
f
trying to add Arrow 2.1.0 to one of our repos and getting this error (more in screenshots)
Copy code
some kotlin runtime libraries have an unsupported binary format
Copy code
some kotlin runtime libraries and 6 other jars have an unsupported binary format
my understanding is this repo has kotlin 1.9 so what's the dealio?
a
indeed, updating to Kotlin 2.1.0 should fix this
p
https://github.com/arrow-kt/arrow/blob/main/gradle/libs.versions.toml#L8 Arrow 2.1.0 is built with Kotlin 2.1.20 The binary format however only makes an attempt to be forward compatible with the next language release, but not later ones (so 1.9 can mostly read 2.0 binaries but won't read 2.1)
a
the new 2.1.1 version makes only 2.0 required, not 2.1
arrow intensifies 1