@@ -45,8 +45,8 @@ To use these dependencies, in your project's `build.gradle.kts` file you can def
45
45
``` kotlin
46
46
dependencies {
47
47
// 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" )
50
50
}
51
51
```
52
52
That will add you the APIs needed to work with both client and server using ` kotlinx.rpc ` .
@@ -59,12 +59,12 @@ kotlin {
59
59
sourceSets {
60
60
iosMain {
61
61
// 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" )
63
63
}
64
64
65
65
jvmMain {
66
66
// 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" )
68
68
}
69
69
}
70
70
}
@@ -85,7 +85,7 @@ so the dependency declaration may look like this:
85
85
``` toml
86
86
# gradle/libs.versions.toml
87
87
[versions ]
88
- kotlinx-rpc = " 1.9.23 -0.1.0"
88
+ kotlinx-rpc = " 1.9.24 -0.1.0"
89
89
90
90
[libraries ]
91
91
kotlinx-rpc-client = { module = " org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" , version.ref = " kotlinx-rpc" }
@@ -129,7 +129,7 @@ plugins {
129
129
}
130
130
```
131
131
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 `
133
133
that we used in [ runtime dependencies] ( #runtime-dependencies ) .
134
134
We will describe why in the [ versioning] ( #library-versioning ) section.
135
135
@@ -158,12 +158,12 @@ you can write this:
158
158
159
159
``` kotlin
160
160
plugins {
161
- kotlin(" jvm" ) version " 1.9.23 "
161
+ kotlin(" jvm" ) version " 1.9.24 "
162
162
id(" org.jetbrains.kotlinx.rpc.platform" ) version " 0.1.0"
163
163
}
164
164
165
165
dependencies {
166
- // versions are set automatically to 1.9.23 -0.1.0
166
+ // versions are set automatically to 1.9.24 -0.1.0
167
167
implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" )
168
168
implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server" )
169
169
}
@@ -202,8 +202,8 @@ and all the needed configuration will be automatically set up by the plugin:
202
202
203
203
``` kotlin
204
204
plugins {
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 "
207
207
id(" org.jetbrains.kotlinx.rpc.plugin" ) version " 0.1.0"
208
208
}
209
209
@@ -226,8 +226,8 @@ to save time on building your project.
226
226
Gradle plugin to your project.
227
227
``` kotlin
228
228
plugins {
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 "
231
231
}
232
232
```
233
233
More on the serialization in the [ dedicated] ( #serialization-dsl ) section.
@@ -241,13 +241,13 @@ We will break it down for you in this section.
241
241
` kotlinx.rpc ` version for all [ runtime dependencies] ( #runtime-dependencies )
242
242
consists of two parts: Kotlin version prefix and core (feature) version suffix.
243
243
```
244
- 1.9.23 -0.1.0
244
+ 1.9.24 -0.1.0
245
245
```
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.
247
247
It can be found out by looking at Kotlin Gradle Plugin:
248
248
``` kotlin
249
249
plugins {
250
- kotlin(" jvm" ) version " 1.9.23 "
250
+ kotlin(" jvm" ) version " 1.9.24 "
251
251
}
252
252
```
253
253
As ` 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
259
259
To address that issue,
260
260
we provide core version updates for all stable versions of
261
261
** 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,
263
263
the following versions of Kotlin are supported:
264
264
265
265
- 1.7.0, 1.7.10, 1.7.20, 1.7.21, 1.7.22
266
266
- 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
268
268
269
269
So for each of the listed Kotlin versions,
270
270
you can use ` <kotlin_version>-<core_version> ` template
271
271
to get the needed library version.
272
272
(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).
274
274
To simplify project configuration, both our [ Gradle plugins] ( #gradle-plugins )
275
275
are able to set proper runtime dependencies versions automatically based
276
276
on the project's Kotlin version and the Gradle plugin version
@@ -279,12 +279,12 @@ which is used as a core library version.
279
279
To summarize, we can look at the example:
280
280
``` kotlin
281
281
plugins {
282
- kotlin(" jvm" ) version " 1.9.23 " // project's Kotlin version
282
+ kotlin(" jvm" ) version " 1.9.24 " // project's Kotlin version
283
283
id(" org.jetbrains.kotlinx.rpc.platform" ) version " 0.1.0" // kotlinx.rpc core version
284
284
}
285
285
286
286
dependencies {
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
288
288
implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-client" )
289
289
implementation(" org.jetbrains.kotlinx:kotlinx-rpc-runtime-server" )
290
290
}
0 commit comments