realm / realm-kotlin

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Apache License 2.0
880 stars 52 forks source link

Support for compiling the SDK with Kotlin 2 #1721

Closed rorbech closed 2 months ago

rorbech commented 2 months ago

Due to binary incompatibilities of the Kotlin compile API across 1.9 and 2.0 we cannot supply a cross version compatible distribution. This PR will however update the code base so that it is possible to compile the SDK itself with both 1.9 and 2.0 to make it easier to maintain and supply a 2.0-compatible branch.

Note This PR does not enable support for K2 in consumer project nor does it change the project to use K2 itself.