mbonnin
06/21/2021, 7:02 PMModule was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16
and I'm wondering how safe it is to compile libs with Kotlin 1.5 if you expect consumers to use 1.3 or 1.4 for some reason. I was under the impression that it would work but this message seems to indicate otherwise. There are a few stack overflow github issue and everytime the solution seems to bump the Kotlin version in the consumer project, which might not always be possible easily. Has anyone more details about how safe it is?ephemient
06/21/2021, 9:06 PM-api-version=1.3
https://kotlinlang.org/docs/compiler-reference.html#api-version-version (note that as of Kotlin 1.5, -api-version=1.3
is deprecated)mbonnin
06/21/2021, 9:07 PMephemient
06/21/2021, 9:09 PM::
method references don't work across the version boundary without -api-version
)ephemient
06/21/2021, 9:09 PMephemient
06/21/2021, 9:10 PMmbonnin
06/21/2021, 9:10 PMmbonnin
06/21/2021, 9:30 PM-api-version=1.3
doesn't help with metadatambonnin
06/21/2021, 9:33 PMmbonnin
06/21/2021, 9:33 PMtapchicoma
07/02/2021, 1:40 PMmbonnin
07/02/2021, 1:41 PMtapchicoma
07/02/2021, 1:41 PMmbonnin
07/02/2021, 1:43 PMtapchicoma
07/02/2021, 1:44 PMmbonnin
07/02/2021, 1:44 PMtapchicoma
07/02/2021, 1:49 PM