Lukas K-G
11/16/2022, 8:56 PMCasey Brooks
11/16/2022, 9:03 PMClassNotFoundException
.
However, the reverse is expected to work fine. If you compile your library against 1.5, users running 1.7 should be able to use it, since there should not be any breaking changes in a minor version bump. Nothing that previously compiled in 1.5 will suddenly be changed or removed until Kotlin hits 2.0Casey Brooks
11/16/2022, 9:04 PMLandry Norris
11/16/2022, 9:05 PMCasey Brooks
11/16/2022, 9:05 PMCasey Brooks
11/16/2022, 9:06 PMGleb Minaev
11/16/2022, 9:06 PMKotlin Language Specification is still in progress and has experimental stability level, meaning no compatibility should be expected between even incremental releases, any functionality can be added, removed or changed without warning.
Landry Norris
11/16/2022, 9:09 PMLandry Norris
11/16/2022, 9:11 PMLukas K-G
11/16/2022, 9:17 PMLandry Norris
11/16/2022, 9:18 PMLandry Norris
11/16/2022, 9:21 PMCasey Brooks
11/16/2022, 9:23 PMLandry Norris
11/16/2022, 9:24 PMsince it's known that Compose/Web does not work with 1.7.21 yet
I believe they actually fixed support for 1.7.20 on web a couple of days ago with 1.2.1Casey Brooks
11/16/2022, 9:25 PMJoffrey
11/17/2022, 3:43 PMyou cannot expect compatibility with 1.5 if you’re developing against 1.7While this is true, I wonder how that plays out with the stdlib dependency resolution. Usually the build system will resolve dependency conflicts by using the most recent version unless strict rules are enforced to override this behaviour. This means that consumers of a library that depends on the stdlib 1.7.21 will likely use that stdlib, even if they're compiling with Kotlin 1.5. But maybe the Kotlin gradle plugin actually sets strict rules to the stdlib it automatically adds? Not sure
Lukas K-G
11/22/2022, 8:10 PM