version: v2
# Using remote plugins from the Buf Schema Registry because Windows Smart App
# Control blocks locally-built codegen binaries (protoc-gen-go from `go install`
# is unsigned and has no reputation score). Remote plugins run on BSR, so no
# local binary execution is required.
plugins:
  - remote: buf.build/protocolbuffers/go:v1.36.11
    out: proto
    opt:
      - paths=source_relative
  - remote: buf.build/grpc/go:v1.6.0
    out: proto
    opt:
      - paths=source_relative
      - require_unimplemented_servers=true
