forked from xmtp/example-notification-server-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buf.gen.yaml
36 lines (36 loc) · 1010 Bytes
/
buf.gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: v1
managed:
enabled: true
java_package_prefix:
default: org.xmtp.android.library.push
go_package_prefix:
# <module_name> : name in go.mod
# <relative_path> : where generated code should be output
default: github.com/xmtp/example-notification-server-go/pkg/proto
# Remove `except` field if googleapis is not used
except:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
plugins:
- plugin: buf.build/grpc/go:v1.3.0
out: pkg/proto
opt:
- paths=source_relative
- plugin: buf.build/protocolbuffers/go
out: pkg/proto
opt:
- paths=source_relative
- plugin: buf.build/connectrpc/swift
opt:
- GenerateAsyncMethods=true
- GenerateCallbackMethods=true
- Visibility=Public
out: swift
- plugin: buf.build/apple/swift
opt:
- Visibility=Public
out: swift
- plugin: buf.build/protocolbuffers/java
out: kotlin
- plugin: buf.build/connectrpc/kotlin
out: kotlin