From a1baa0f91d3f515d34f4fb2eee3cb87606d81349 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Wed, 22 Dec 2021 09:57:33 -0800 Subject: [PATCH] Add runtime dependency to grpc-netty for java-client-session-examples Fixes this error: io.grpc.ManagedChannelProvider$ProviderNotFoundException: No functional channel service provider found. Try adding a dependency on the grpc-okhttp, grpc-netty, or grpc-netty-shaded artifact --- java-client/session-examples/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/java-client/session-examples/build.gradle b/java-client/session-examples/build.gradle index cc1602ab359..b9c3c8f0501 100644 --- a/java-client/session-examples/build.gradle +++ b/java-client/session-examples/build.gradle @@ -10,6 +10,7 @@ dependencies { Classpaths.inheritGrpcPlatform(project, 'implementation') implementation 'io.grpc:grpc-core' + runtimeOnly 'io.grpc:grpc-netty' Classpaths.inheritJUnitPlatform(project) Classpaths.inheritAssertJ(project)