@@ -21,9 +21,9 @@ let package = Package(
21
21
name: " hello-world " ,
22
22
platforms: [ . macOS( " 15.0 " ) ] ,
23
23
dependencies: [
24
- . package ( url: " https://github.com/grpc/grpc-swift.git " , exact : " 2.0.0-beta.3 " ) ,
25
- . package ( url: " https://github.com/grpc/grpc-swift-protobuf.git " , exact : " 1.0.0-beta.3 " ) ,
26
- . package ( url: " https://github.com/grpc/grpc-swift-nio-transport.git " , exact : " 1.0.0-beta.3 " ) ,
24
+ . package ( url: " https://github.com/grpc/grpc-swift.git " , branch : " main " ) ,
25
+ . package ( url: " https://github.com/grpc/grpc-swift-protobuf.git " , branch : " main " ) ,
26
+ . package ( url: " https://github.com/grpc/grpc-swift-nio-transport.git " , branch : " main " ) ,
27
27
. package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.5.0 " ) ,
28
28
] ,
29
29
targets: [
@@ -34,6 +34,9 @@ let package = Package(
34
34
. product( name: " GRPCNIOTransportHTTP2 " , package : " grpc-swift-nio-transport " ) ,
35
35
. product( name: " GRPCProtobuf " , package : " grpc-swift-protobuf " ) ,
36
36
. product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
37
+ ] ,
38
+ plugins: [
39
+ . plugin( name: " GRPCProtobufGenerator " , package : " grpc-swift-protobuf " )
37
40
]
38
41
)
39
42
]
0 commit comments