File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ let package = Package(
21
21
name: " reflection-server " ,
22
22
platforms: [ . macOS( . v15) ] ,
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/grpc/grpc-swift-extras.git " , exact: " 1.0.0-beta.3 " ) ,
28
28
. package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.5.0 " ) ,
29
29
] ,
@@ -39,6 +39,9 @@ let package = Package(
39
39
] ,
40
40
resources: [
41
41
. copy( " DescriptorSets " )
42
+ ] ,
43
+ plugins: [
44
+ . plugin( name: " GRPCProtobufGenerator " , package : " grpc-swift-protobuf " )
42
45
]
43
46
)
44
47
]
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ let package = Package(
21
21
name: " route-guide " ,
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: [
@@ -37,6 +37,9 @@ let package = Package(
37
37
] ,
38
38
resources: [
39
39
. copy( " route_guide_db.json " )
40
+ ] ,
41
+ plugins: [
42
+ . plugin( name: " GRPCProtobufGenerator " , package : " grpc-swift-protobuf " )
40
43
]
41
44
)
42
45
]
You can’t perform that action at this time.
0 commit comments