Skip to content

Commit

Permalink
Update gRPC sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr3zee committed Jan 28, 2025
1 parent cdad19a commit 51f9324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions samples/grpc-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
plugins {
kotlin("jvm") version "2.1.0"
kotlin("plugin.serialization") version "2.1.0"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.0-eap-grpc-1"
id("org.jetbrains.kotlinx.rpc.plugin") version "0.5.0-grpc-6"
id("com.google.protobuf") version "0.9.4"
}

Expand All @@ -22,7 +22,7 @@ kotlin {
}

dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.0-eap-grpc-1")
implementation("org.jetbrains.kotlinx:kotlinx-rpc-grpc-core:0.5.0-grpc-6")
implementation("ch.qos.logback:logback-classic:1.5.16")
implementation("io.grpc:grpc-netty:1.69.0")
}
Expand All @@ -36,7 +36,7 @@ protobuf {

plugins {
create("kotlinx-rpc") {
artifact = "org.jetbrains.kotlinx:kotlinx-rpc-protobuf-plugin:0.5.0-eap-grpc-1:all@jar"
artifact = "org.jetbrains.kotlinx:kotlinx-rpc-protobuf-plugin:0.5.0-grpc-6:all@jar"
}

create("grpc") {
Expand Down
2 changes: 0 additions & 2 deletions samples/simple-ktor-app/src/test/kotlin/ApplicationTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ class ApplicationTest {

val flowList = mutableListOf<String?>()

assertEquals(null, recognizer.awaitFieldInitialization { currentlyProcessedImage }.value)

val job = CoroutineScope(Dispatchers.IO).launch {
streamScoped {
recognizer.currentlyProcessedImage().collect { image ->
Expand Down

0 comments on commit 51f9324

Please sign in to comment.