I’m having difficulty importing our libraries into Desktop Compose. I created a Kotlin library using the defaults from IDEA. Then I created a .jar artifact and placed it in my Desktop Compose app as I’ve done with many other Kotlin projects (but not Compose.) The Desktop Compose app recognizes the library and provides autocomplete when I type imports from the library, but when I try to use any of them the compiler complains, “Class ‘bio.fellstreet.sugars.Sugar.Companion’ is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler.”
I’m not using the beta K2 compiler or anything exotic. Its just the default config for both the library and Compose Desktop. Any help you can provide would be greatly appreciated.