File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,8 @@ subprojects {
6666 if (Os . isFamily(Os . FAMILY_WINDOWS )) {
6767 splitRootDir = splitRootDir. getPath(). split(" :" , 2 )[1 ]
6868 }
69- javaPluginPath = " $splitRootDir /compiler/build/binaries/java_pluginExecutable/java_plugin$exeSuffix "
69+ protocPluginBaseName = ' protoc-gen-grpc-java'
70+ javaPluginPath = " $splitRootDir /compiler/build/binaries/java_pluginExecutable/$protocPluginBaseName $exeSuffix "
7071 }
7172
7273 dependencies {
Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ buildscript {
1515}
1616
1717executables {
18- java_plugin {}
18+ java_plugin {
19+ baseName " $protocPluginBaseName "
20+ }
1921}
2022
2123dependencies {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ OUTPUT_FILE="$TEST_TMP_DIR/TestServiceGrpc.src.jar"
1212GRPC_FILE=" $TEST_TMP_DIR /io/grpc/testing/integration/TestServiceGrpc.java"
1313GOLDEN_FILE=" golden/TestServiceNano.java.txt"
1414
15- protoc --plugin=protoc-gen-java_rpc=../../build/binaries/java_pluginExecutable/java_plugin \
15+ protoc --plugin=protoc-gen-java_rpc=../../build/binaries/java_pluginExecutable/protoc-gen-grpc-java \
1616 --java_rpc_out=nano=true:" $OUTPUT_FILE " " $INPUT_FILE " && \
1717 unzip -o -d " $TEST_TMP_DIR " " $OUTPUT_FILE " && \
1818 diff " $GRPC_FILE " " $GOLDEN_FILE " && \
You can’t perform that action at this time.
0 commit comments