From aed6565bfd85607dfa51fa4e940dbc58cb45402a Mon Sep 17 00:00:00 2001 From: Jayesh Mann <36336898+jayeshmann@users.noreply.github.com> Date: Wed, 5 Jun 2024 15:29:26 +0530 Subject: [PATCH] wiremock-grpc-extension for test scope only same as demonstrated https://github.com/wiremock/wiremock-grpc-demos/blob/main/java/build.gradle keeping it in implementation tree can cause issues with grpc server --- _docs/grpc.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_docs/grpc.md b/_docs/grpc.md index 7d264bc3..e7ffd8ff 100644 --- a/_docs/grpc.md +++ b/_docs/grpc.md @@ -32,7 +32,7 @@ Add the extension JAR dependency to your project: Gradle: ```gradle -implementation 'org.wiremock:wiremock-grpc-extension:{{ site.grpc_extension_version }}' +testImplementation 'org.wiremock:wiremock-grpc-extension:{{ site.grpc_extension_version }}' ``` Maven: @@ -42,6 +42,7 @@ Maven: org.wiremock wiremock-grpc-extension {{ site.grpc_extension_version }} + test ``` @@ -174,4 +175,4 @@ gRPC stubs are defined using WireMock's standard JSON format. Requests should al ## More Demos -For more see the [standalone demo project](https://github.com/wiremock/wiremock-grpc-demos/tree/main/standalone). \ No newline at end of file +For more see the [standalone demo project](https://github.com/wiremock/wiremock-grpc-demos/tree/main/standalone).