Doist / doistx-normalize

Kotlin Multiplatform (KMP) library for string unicode normalization
MIT License
51 stars 3 forks source link

1.0.4 release not usable from Android #5

Closed treitter closed 2 years ago

treitter commented 2 years ago

Hi, I'm trying to finish my initial migration of my app to KMM and have 3 different options for normalize but all fail for different reasons:


* Kotlin 1.6 is currently causing a build error unrelated to `normalize` but I can't figure out the actual cause of that failure (it seems very similar to [this error](https://stackoverflow.com/questions/67552441/no-matching-variant-of-kotlin-multiplatrom-mobile-library-found) even though I don't believe I have any dependencies in my `commonMain` that are JVM-only).

Is it possible to publish a release of `normalize` 1.0.4 built with Kotlin 1.5.x?
treitter commented 2 years ago

Based on this bug, it seems most likely that the existing 1.0.4 release was built with Kotlin 1.6.0 which apparently breaks Android consumers.

The fix is apparently to build the library with Kotlin 1.6.10 or later.

treitter commented 2 years ago

Sorry for the noise. It turned out my underlying issue was unrelated.

goncalossilva commented 2 years ago

@treitter not at all, thanks for reporting! I was unaware of KT-50263.

Happy to bump to 1.6.10 if that would help your integration!