@@ -45,8 +45,8 @@ To use these dependencies, in your project's `build.gradle.kts` file you can def
4545``` kotlin
4646dependencies {
4747 // example kotlinx.rpc artifacts
48- implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client:1.9.23 -0.1.0" )
49- implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server:1.9.23 -0.1.0" )
48+ implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client:1.9.24 -0.1.0" )
49+ implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server:1.9.24 -0.1.0" )
5050}
5151```
5252That will add you the APIs needed to work with both client and server using ` kotlinx.rpc ` .
@@ -59,12 +59,12 @@ kotlin {
5959 sourceSets {
6060 iosMain {
6161 // let's say that we have code for the client in iosMain sources set
62- implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client:1.9.23 -0.1.0" )
62+ implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client:1.9.24 -0.1.0" )
6363 }
6464
6565 jvmMain {
6666 // let's say that we have code for the server in jvmMain sources set
67- implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server:1.9.23 -0.1.0" )
67+ implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server:1.9.24 -0.1.0" )
6868 }
6969 }
7070}
@@ -85,7 +85,7 @@ so the dependency declaration may look like this:
8585``` toml
8686# gradle/libs.versions.toml
8787[versions ]
88- kotlinx-rpc = " 1.9.23 -0.1.0"
88+ kotlinx-rpc = " 1.9.24 -0.1.0"
8989
9090[libraries ]
9191kotlinx-rpc-client = { module = " org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" , version.ref = " kotlinx-rpc" }
@@ -129,7 +129,7 @@ plugins {
129129}
130130```
131131
132- > Note that we use version ` 0.1.0 ` here, instead of ` 1.9.23 -0.1.0 `
132+ > Note that we use version ` 0.1.0 ` here, instead of ` 1.9.24 -0.1.0 `
133133 that we used in [ runtime dependencies] ( #runtime-dependencies ) .
134134We will describe why in the [ versioning] ( #library-versioning ) section.
135135
@@ -158,12 +158,12 @@ you can write this:
158158
159159``` kotlin
160160plugins {
161- kotlin(" jvm" ) version " 1.9.23 "
161+ kotlin(" jvm" ) version " 1.9.24 "
162162 id(" org.jetbrains.kotlinx.rpc.platform" ) version " 0.1.0"
163163}
164164
165165dependencies {
166- // versions are set automatically to 1.9.23 -0.1.0
166+ // versions are set automatically to 1.9.24 -0.1.0
167167 implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" )
168168 implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server" )
169169}
@@ -202,8 +202,8 @@ and all the needed configuration will be automatically set up by the plugin:
202202
203203``` kotlin
204204plugins {
205- kotlin(" jvm" ) version " 1.9.23 "
206- id(" com.google.devtools.ksp" ) version " 1.9.23 -1.0.17 "
205+ kotlin(" jvm" ) version " 1.9.24 "
206+ id(" com.google.devtools.ksp" ) version " 1.9.24 -1.0.20 "
207207 id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.1.0"
208208}
209209
@@ -226,8 +226,8 @@ to save time on building your project.
226226Gradle plugin to your project.
227227``` kotlin
228228plugins {
229- kotlin(" jvm" ) version " 1.9.23 "
230- kotlin(" plugin.serialization" ) version " 1.9.23 "
229+ kotlin(" jvm" ) version " 1.9.24 "
230+ kotlin(" plugin.serialization" ) version " 1.9.24 "
231231}
232232```
233233More on the serialization in the [ dedicated] ( #serialization-dsl ) section.
@@ -241,13 +241,13 @@ We will break it down for you in this section.
241241` kotlinx.rpc ` version for all [ runtime dependencies] ( #runtime-dependencies )
242242consists of two parts: Kotlin version prefix and core (feature) version suffix.
243243```
244- 1.9.23 -0.1.0
244+ 1.9.24 -0.1.0
245245```
246- Here ` 1.9.23 ` is the version of Kotlin of your project.
246+ Here ` 1.9.24 ` is the version of Kotlin of your project.
247247It can be found out by looking at Kotlin Gradle Plugin:
248248``` kotlin
249249plugins {
250- kotlin(" jvm" ) version " 1.9.23 "
250+ kotlin(" jvm" ) version " 1.9.24 "
251251}
252252```
253253As ` kotlinx.rpc ` uses Kotlin compiler plugin and KSP plugins,
@@ -259,18 +259,18 @@ would require updating the project's Kotlin version, which is not always possibl
259259To address that issue,
260260we provide core version updates for all stable versions of
261261** the last three** major Kotlin releases.
262- So if the last stable Kotlin version is ` 1.9.23 ` , as at the time of writing this guide,
262+ So if the last stable Kotlin version is ` 1.9.24 ` , as at the time of writing this guide,
263263the following versions of Kotlin are supported:
264264
265265- 1.7.0, 1.7.10, 1.7.20, 1.7.21, 1.7.22
266266- 1.8.0, 1.8.10, 1.8.20, 1.8.21, 1.8.22
267- - 1.9.0, 1.9.10, 1.9.20, 1.9.21, 1.9.22, 1.9.23
267+ - 1.9.0, 1.9.10, 1.9.20, 1.9.21, 1.9.22, 1.9.23, 1.9.24
268268
269269So for each of the listed Kotlin versions,
270270you can use ` <kotlin_version>-<core_version> ` template
271271to get the needed library version.
272272(So, for core version ` 0.1.0 ` , there are ` 1.7.0-0.1.0 ` ,
273- ` 1.7.0-0.1.0 ` , ... , ` 1.9.23 -0.1.0 ` versions present).
273+ ` 1.7.0-0.1.0 ` , ... , ` 1.9.24 -0.1.0 ` versions present).
274274To simplify project configuration, both our [ Gradle plugins] ( #gradle-plugins )
275275are able to set proper runtime dependencies versions automatically based
276276on the project's Kotlin version and the Gradle plugin version
@@ -279,12 +279,12 @@ which is used as a core library version.
279279To summarize, we can look at the example:
280280``` kotlin
281281plugins {
282- kotlin(" jvm" ) version " 1.9.23 " // project's Kotlin version
282+ kotlin(" jvm" ) version " 1.9.24 " // project's Kotlin version
283283 id(" org.jetbrains.kotlinx.rpc.platform" ) version " 0.1.0" // kotlinx.rpc core version
284284}
285285
286286dependencies {
287- // for kotlinx.rpc runtime dependencies, Gradle plugin sets version 1.9.23 -0.1.0
287+ // for kotlinx.rpc runtime dependencies, Gradle plugin sets version 1.9.24 -0.1.0
288288 implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" )
289289 implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server" )
290290}
0 commit comments