Skip to content

Commit f9d6195

Browse files
committed
Fix println tests
1 parent 4f9c271 commit f9d6195

File tree

8 files changed

+18
-16
lines changed

8 files changed

+18
-16
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import kotlinx.rpc.annotations.Rpc
2626
interface AwesomeService : RemoteService {
2727
suspend fun getNews(city: String): Flow<String>
2828

29-
suspend fun daysUntilStableRelese(): Int
29+
suspend fun daysUntilStableRelease(): Int
3030
}
3131
```
3232
In your server code define how to respond by simply implementing the service:
@@ -43,7 +43,7 @@ class AwesomeServiceImpl(
4343
}
4444
}
4545

46-
override suspend fun daysUntilStableRelese(): Int {
46+
override suspend fun daysUntilStableRelease(): Int {
4747
return if (parameters.stable) 0 else {
4848
parameters.daysUntilStable ?: error("Who says it will be stable?")
4949
}
@@ -88,7 +88,7 @@ val rpcClient = HttpClient { installKrpc() }.rpc {
8888

8989
val service = rpcClient.withService<AwesomeService>()
9090

91-
service.daysUntilStableRelese()
91+
service.daysUntilStableRelease()
9292

9393
streamScoped {
9494
service.getNews("KotlinBurg").collect { article ->
@@ -114,8 +114,8 @@ that will set up code generation in a project.
114114
Example of a setup in a project's `build.gradle.kts`:
115115
```kotlin
116116
plugins {
117-
kotlin("multiplatform") version "2.1.0"
118-
kotlin("plugin.serialization") version "2.1.0"
117+
kotlin("multiplatform") version "2.1.10"
118+
kotlin("plugin.serialization") version "2.1.10"
119119
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.0"
120120
}
121121
```
@@ -176,7 +176,8 @@ For a working example, see the [sample gRPC project](/samples/grpc-app).
176176

177177
## Kotlin compatibility
178178
We support all stable Kotlin versions starting from 2.0.0:
179-
- 2.0.0, 2.0.10, 2.0.20, 2.0.21, 2.1.0
179+
- 2.0.0, 2.0.10, 2.0.20, 2.0.21
180+
- 2.1.0, 2.1.10
180181

181182
For a full compatibility checklist,
182183
see [Versions](https://kotlin.github.io/kotlinx-rpc/versions.html).

docs/pages/kotlinx-rpc/topics/versions.topic

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
the following versions of Kotlin are supported:
2222
</p>
2323
<list>
24-
<li>2.0.0, 2.0.10, 2.0.20, 2.0.21, 2.1.0</li>
24+
<li>2.0.0, 2.0.10, 2.0.20, 2.0.21</li>
25+
<li>2.1.0, 2.1.10</li>
2526
</list>
2627
<p>
2728
Our code generation will support these versions (See more on <a anchor="code-generation-artifacts">code generation artifacts</a>).

docs/pages/kotlinx-rpc/v.list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616
<!-- Library versions -->
1717
<var name="kotlinx-rpc-version" value="0.5.0"/>
18-
<var name="kotlin-version" value="2.1.0"/>
18+
<var name="kotlin-version" value="2.1.10"/>
1919
</vars>

samples/grpc-app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*/
44

55
plugins {
6-
kotlin("jvm") version "2.1.0"
7-
kotlin("plugin.serialization") version "2.1.0"
6+
kotlin("jvm") version "2.1.10"
7+
kotlin("plugin.serialization") version "2.1.10"
88
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.0-grpc-6"
99
id("com.google.protobuf") version "0.9.4"
1010
}

samples/ktor-all-platforms-app/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "2.1.0"
2+
kotlin = "2.1.10"
33

44
agp = "8.8.0-alpha05"
55
android-compileSdk = "35"

samples/ktor-android-app/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
agp = "8.8.0"
3-
kotlin = "2.1.0"
3+
kotlin = "2.1.10"
44
androidx-activityCompose = "1.9.3"
55
androidx-appcompat = "1.7.0"
66
androidx-constraintlayout = "2.2.0"

samples/ktor-web-app/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "2.1.0"
2+
kotlin = "2.1.10"
33
kotlin-wrappers-bom = "2025.1.2"
44
ktor = "3.0.3"
55
kotlinx-serialization-json = "1.8.0"

samples/simple-ktor-app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*/
44

55
plugins {
6-
kotlin("jvm") version "2.1.0"
7-
kotlin("plugin.serialization") version "2.1.0"
6+
kotlin("jvm") version "2.1.10"
7+
kotlin("plugin.serialization") version "2.1.10"
88
id("io.ktor.plugin") version "3.0.3"
99
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.0"
1010
}
@@ -40,5 +40,5 @@ dependencies {
4040
implementation("ch.qos.logback:logback-classic:1.5.16")
4141

4242
testImplementation("io.ktor:ktor-server-test-host")
43-
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.1.0")
43+
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.1.10")
4444
}

0 commit comments

Comments
 (0)