diff --git a/buildtools/wasm/Dockerfile b/buildtools/wasm/Dockerfile index 30744c8..8dc7056 100644 --- a/buildtools/wasm/Dockerfile +++ b/buildtools/wasm/Dockerfile @@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y binaryen git patch # Easiest way to build grpc-java plugin is add it to the protoc build ADD buildtools/wasm/version.txt /version.txt RUN git clone --recursive https://github.com/grpc/grpc-java.git --branch $(cat /version.txt | awk '{$1=$1};1') /grpcjava -RUN git clone --recursive https://github.com/protocolbuffers/protobuf.git --branch v25.2 /workspace +RUN git clone --recursive https://github.com/protocolbuffers/protobuf.git --branch v26.1 /workspace RUN cp -R /grpcjava/compiler/src/java_plugin/cpp /workspace/src/grpcjava RUN echo "set(protoc-gen-grpc-java_files \${protobuf_SOURCE_DIR}/src/grpcjava/java_plugin.cpp \${protobuf_SOURCE_DIR}/src/grpcjava/java_generator.cpp) \n\ add_executable(protoc-gen-grpc-java \${protoc-gen-grpc-java_files} \${protobuf_version_rc_file}) \n\ diff --git a/buildtools/wasm/version.txt b/buildtools/wasm/version.txt index d9a35e5..a477bf9 100644 --- a/buildtools/wasm/version.txt +++ b/buildtools/wasm/version.txt @@ -1 +1 @@ -v1.61.0 \ No newline at end of file +v1.62.2 \ No newline at end of file diff --git a/magefiles/magefile.go b/magefiles/magefile.go index da1ca0d..343981a 100644 --- a/magefiles/magefile.go +++ b/magefiles/magefile.go @@ -9,7 +9,8 @@ import ( ) func init() { - magefiles.SetLibraryName("protoc") + magefiles.SetLibraryName("protoc-gen-grpc-java") + magefiles.SetLibraryRepo("grpc/grpc-java") } func Snapshot() error {