

Kotlin Memory Model and Coroutine compatibility You can find Kotlin version requirements for these libraries and plugins here: While we strive to be compatible with other plugins and libraries like Android Gradle Plugin, Jetpack ComposeĪnd Compose Multiplatform, these plugins (and others) have their own version restrictions, so if you are running intoīuild errors this would be the first thing to check: In the matrix below, you will find the minimum supported version for the dependencies of each Realm release. Version Compatibility MatrixĪnd the Compiler Plugin APIs being experimental, there might be restrictions on what versions of Kotlin the Realm Kotlin See Config.kt for the latest version number. ResolutionStrategy.cacheChangingModulesFor(0,TimeUnit.SECONDS) Don't cache SNAPSHOT (changing) dependencies. Implementation("io.realm.kotlin:library-base:-SNAPSHOT") Start writing your database logic by first defining your model.Ĭlasspath("io.realm.kotlin:gradle-plugin:-SNAPSHOT") More in the version compatibility matrix. See the details in the documentation:Īlso pay attention to restrictions on which versions of Kotlin and other dependencies that are supported. Installation differs slightly depending on the type of project and whether or not you are using Device Sync. If you are migrating from Realm Java, please see the Migration Guide. If you are upgrading from a previous beta release of Realm Kotlin, please see the CHANGELOG for the full list of changes. Get started for free with a template application and create the cloud backend.

