From 8c56e7c5ffd770a157ccd171cab046a7d30db606 Mon Sep 17 00:00:00 2001 From: Christopher Batey Date: Sun, 10 Mar 2019 09:33:02 +0000 Subject: [PATCH] add stub dependency to gradle instructions --- reactor/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactor/README.md b/reactor/README.md index 9746aa7d..bc9e494f 100644 --- a/reactor/README.md +++ b/reactor/README.md @@ -25,7 +25,7 @@ To use Reactor-gRPC with the `protobuf-maven-plugin`, add a [custom protoc plugi ### Gradle To use Reactor-gRPC with the `protobuf-gradle-plugin`, add the reactor-grpc plugin to the protobuf `plugins` section. -```scala +```groovy protobuf { protoc { // The artifact spec for the Protobuf Compiler @@ -47,6 +47,8 @@ protobuf { } } ``` +And add the following dependency: `"com.salesforce.servicelibs:reactor-grpc-stub:${reactiveGrpcVersion}"` + *At this time, Reactor-gRPC with Gradle only supports bash-based environments. Windows users will need to build using Windows Subsystem for Linux (win 10), Gitbash, or Cygwin.* Usage