Reedyuk / blue-falcon

A Bluetooth kotlin multiplatform "Cross-Platform" library for iOS and Android
https://bluefalcon.dev
Apache License 2.0
340 stars 45 forks source link

Update to Kotlin v1.4.21 #64

Closed jguerinet closed 3 years ago

jguerinet commented 3 years ago

Describe the bug Library currently can't be used in the newest MPP projects using Kotlin 1.4.21. Specifically fails on the Kotlin/Native side.

To Reproduce Attempt to build a project using Kotlin 1.4.21 and this library.

Expected behavior Build succeeds

Actual behavior Build fails with following error message:

Incompatible Kotlin/Native libraries
There is a third-party library attached to the project that was compiled with an older Kotlin/Native compiler and cant be read in IDE:
Gradle: dev.bluefalcon:library-iosx64:klib:0.7.0
Please edit Gradle buildfile(s) and specify library a version compatible with Kotlin/Native 1.4.21. Then re-import the project in IDE.
jguerinet commented 3 years ago

Very stupid mistake... I wasn't using the latest version of the library. Grabbed 0.7.0 from the README instead of checking the history version. All is well with v0.8.0, my apologies.