diff --git a/examples/README.md b/examples/README.md
index 8dd47205..f564d398 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -42,6 +42,7 @@ The example sources are organized into the following top-level folders:
./gradlew :client:AnimalsClient --args=pig
./gradlew :client:AnimalsClient --args=sheep
```
+
-
GraalVM native image example
@@ -58,6 +59,7 @@ The example sources are organized into the following top-level folders:
./gradlew :native-client:nativeImage
native-client/build/graal/hello-world
```
+
-
Android example
@@ -149,6 +151,7 @@ The example sources are organized into the following top-level folders:
```
1. Navigate to `android/src/main/kotlin/io/grpc/examples/helloworld` and right-click on `MainActivity` and select `Run`.
+
[Basics tutorial]: https://grpc.io/docs/languages/kotlin/basics/
[grpc.io Kotlin/JVM]: https://grpc.io/docs/languages/kotlin/
diff --git a/examples/build.gradle.kts b/examples/build.gradle.kts
index 0d5b328e..cdac40d0 100644
--- a/examples/build.gradle.kts
+++ b/examples/build.gradle.kts
@@ -6,9 +6,9 @@ plugins {
}
// todo: move to subprojects, but how?
-ext["grpcVersion"] = "1.39.0" // need to wait for grpc kotlin to move past this
+ext["grpcVersion"] = "1.45.0"
ext["grpcKotlinVersion"] = "1.2.1" // CURRENT_GRPC_KOTLIN_VERSION
-ext["protobufVersion"] = "3.19.2"
+ext["protobufVersion"] = "3.19.4"
ext["coroutinesVersion"] = "1.6.0"
allprojects {
diff --git a/examples/stub-android/build.gradle.kts b/examples/stub-android/build.gradle.kts
index 6d464906..d4069794 100644
--- a/examples/stub-android/build.gradle.kts
+++ b/examples/stub-android/build.gradle.kts
@@ -16,6 +16,7 @@ dependencies {
api(kotlin("stdlib"))
api("org.jetbrains.kotlinx:kotlinx-coroutines-android:${rootProject.ext["coroutinesVersion"]}")
+ api("io.grpc:grpc-stub:${rootProject.ext["grpcVersion"]}")
api("io.grpc:grpc-protobuf-lite:${rootProject.ext["grpcVersion"]}")
api("io.grpc:grpc-kotlin-stub:${rootProject.ext["grpcKotlinVersion"]}")
api("com.google.protobuf:protobuf-kotlin-lite:${rootProject.ext["protobufVersion"]}")
diff --git a/examples/stub-lite/build.gradle.kts b/examples/stub-lite/build.gradle.kts
index c6fc6e76..b3a17503 100644
--- a/examples/stub-lite/build.gradle.kts
+++ b/examples/stub-lite/build.gradle.kts
@@ -14,6 +14,7 @@ dependencies {
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${rootProject.ext["coroutinesVersion"]}")
+ api("io.grpc:grpc-stub:${rootProject.ext["grpcVersion"]}")
api("io.grpc:grpc-protobuf-lite:${rootProject.ext["grpcVersion"]}")
api("io.grpc:grpc-kotlin-stub:${rootProject.ext["grpcKotlinVersion"]}")
api("com.google.protobuf:protobuf-kotlin-lite:${rootProject.ext["protobufVersion"]}")
diff --git a/examples/stub/build.gradle.kts b/examples/stub/build.gradle.kts
index 6108b85f..9a8b64ce 100644
--- a/examples/stub/build.gradle.kts
+++ b/examples/stub/build.gradle.kts
@@ -15,6 +15,7 @@ dependencies {
api(kotlin("stdlib"))
api("org.jetbrains.kotlinx:kotlinx-coroutines-core:${rootProject.ext["coroutinesVersion"]}")
+ api("io.grpc:grpc-stub:${rootProject.ext["grpcVersion"]}")
api("io.grpc:grpc-protobuf:${rootProject.ext["grpcVersion"]}")
api("com.google.protobuf:protobuf-java-util:${rootProject.ext["protobufVersion"]}")
api("com.google.protobuf:protobuf-kotlin:${rootProject.ext["protobufVersion"]}")