diff --git a/packages/default-storage/android/config.gradle b/packages/default-storage/android/config.gradle index c8971b72..33147eb6 100644 --- a/packages/default-storage/android/config.gradle +++ b/packages/default-storage/android/config.gradle @@ -1,7 +1,7 @@ import java.nio.file.Paths -def DEFAULT_KOTLIN_VERSION = "1.9.20" -def DEFAULT_ROOM_VERSION = "2.4.3" +def DEFAULT_KOTLIN_VERSION = "1.9.24" +def DEFAULT_ROOM_VERSION = "2.6.1" def kotlinVersion = getKotlinVersion(DEFAULT_KOTLIN_VERSION) @@ -19,8 +19,8 @@ project.ext.AsyncStorageConfig = [ ] project.ext.AsyncStorageLibs = [ - coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3", - testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3", + coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0", + testCoroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.8.0", testJunit : "junit:junit:4.13.2", testRunner : "androidx.test:runner:1.4.0", testRules : "androidx.test:rules:1.4.0", @@ -54,6 +54,10 @@ String getKspVersion(String kotlinVersion) { } // https://github.com/google/ksp/releases def kspVersions = [ + "1.9.24-1.0.20", + "1.9.23-1.0.20", + "1.9.22-1.0.17", + "1.9.21-1.0.16", "1.9.20-1.0.14", "1.9.10-1.0.13", "1.9.0-1.0.13", diff --git a/packages/default-storage/example/android/gradle.properties b/packages/default-storage/example/android/gradle.properties index e6d7cf68..8f2be824 100644 --- a/packages/default-storage/example/android/gradle.properties +++ b/packages/default-storage/example/android/gradle.properties @@ -50,7 +50,7 @@ newArchEnabled=true #ANDROID_NDK_VERSION=26.1.10909125 # Version of Kotlin to build against. -KOTLIN_VERSION=1.9.20 +KOTLIN_VERSION=1.9.24 # This is an example of how you can change default DB size (6MB) to 10MB #AsyncStorage_db_size_in_MB=10 diff --git a/packages/website/docs/advanced/Next.md b/packages/website/docs/advanced/Next.md index 2df18e66..fbad5418 100644 --- a/packages/website/docs/advanced/Next.md +++ b/packages/website/docs/advanced/Next.md @@ -47,28 +47,28 @@ AsyncStorage_useNextStorage=true **Kotlin version** -Next storage is tested against Kotlin version `1.9.20`. +Next storage is tested against Kotlin version `1.9.24`. You can specify different version, in one of two ways: - add `kotlinVersion` extension to the `rootProject`: ```groovy -rootProject.ext.kotlinVersion = '1.9.20' +rootProject.ext.kotlinVersion = '1.9.24' ``` - specify `AsyncStorage_kotlinVersion` in `gradle.properties`: ```groovy -AsyncStorage_kotlinVersion=1.9.20 +AsyncStorage_kotlinVersion=1.9.24 ``` **Room** Next AsyncStorage uses [Room persistence library](https://developer.android.com/jetpack/androidx/releases/room) to store data. -Currently, tested version is `2.4.3`. You can specify different version, by adding a flag to `gradle.properties`: +Currently, tested version is `2.6.1`. You can specify different version, by adding a flag to `gradle.properties`: ```groovy -AsyncStorage_next_roomVersion=2.4.3 +AsyncStorage_next_roomVersion=2.6.1 ``` KSP is enabled for symbol processing for the Room library. @@ -76,7 +76,7 @@ KSP version will be selected based on Kotlin version in your project. If you want to use different KSP version, you can set a property in `gradle.properties`: ```groovy -AsyncStorage_next_kspVersion=1.9.20-1.0.14 +AsyncStorage_next_kspVersion=1.9.24-1.0.20 ``` ### Notable changes