From 413fc2ebd8bb1535ec4a18bbaae2606bff4e579e Mon Sep 17 00:00:00 2001 From: Nabil Hachicha Date: Fri, 13 Sep 2024 11:44:32 +0100 Subject: [PATCH] clean up --- CHANGELOG.md | 8 -------- examples/min-android-sample/build.gradle.kts | 2 +- .../realm/kotlin/compiler/RealmModelLoweringExtension.kt | 3 ++- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bec47a73d..012c356d35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,5 @@ ## 2.2.0-SNAPSHOT (YYYY-MM-DD) -> [!WARNING] -> This is the last version compatible with Sync feature. -We announced the deprecation of Atlas Device Sync + Realm SDKs in September 2024. For more information please see: -> - [SDK Deprecation](https://www.mongodb.com/docs/atlas/device-sdks/device-sdk-deprecation) -> - [Device Sync Deprecation](https://www.mongodb.com/docs/atlas/app-services/sync/device-sync-deprecation) -> -> For a version of `realm-kotlin` without sync features, install version 3.0.0 or see the `community` branch. - ### Breaking Changes * None. diff --git a/examples/min-android-sample/build.gradle.kts b/examples/min-android-sample/build.gradle.kts index a42d343dd7..a5bacf7088 100644 --- a/examples/min-android-sample/build.gradle.kts +++ b/examples/min-android-sample/build.gradle.kts @@ -16,7 +16,7 @@ buildscript { } dependencies { classpath("com.android.tools.build:gradle:7.1.3") - classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.20") classpath("io.realm.kotlin:gradle-plugin:${rootProject.extra["realmVersion"]}") } } diff --git a/packages/plugin-compiler/src/main/kotlin/io/realm/kotlin/compiler/RealmModelLoweringExtension.kt b/packages/plugin-compiler/src/main/kotlin/io/realm/kotlin/compiler/RealmModelLoweringExtension.kt index e555890029..c01a74dbcd 100644 --- a/packages/plugin-compiler/src/main/kotlin/io/realm/kotlin/compiler/RealmModelLoweringExtension.kt +++ b/packages/plugin-compiler/src/main/kotlin/io/realm/kotlin/compiler/RealmModelLoweringExtension.kt @@ -83,7 +83,8 @@ private class RealmModelLowering(private val pluginContext: IrPluginContext) : C throw e.wrapWithCompilationException( "Internal error in file lowering", it, - null) + null + ) } }