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(
2121 name: " reflection-server " ,
2222 platforms: [ . macOS( . v15) ] ,
2323 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 " ) ,
2727 . package ( url: " https://github.com/grpc/grpc-swift-extras.git " , exact: " 1.0.0-beta.3 " ) ,
2828 . package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.5.0 " ) ,
2929 ] ,
@@ -39,6 +39,9 @@ let package = Package(
3939 ] ,
4040 resources: [
4141 . copy( " DescriptorSets " )
42+ ] ,
43+ plugins: [
44+ . plugin( name: " GRPCProtobufGenerator " , package : " grpc-swift-protobuf " )
4245 ]
4346 )
4447 ]
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ let package = Package(
2121 name: " route-guide " ,
2222 platforms: [ . macOS( " 15.0 " ) ] ,
2323 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 " ) ,
2727 . package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.5.0 " ) ,
2828 ] ,
2929 targets: [
@@ -37,6 +37,9 @@ let package = Package(
3737 ] ,
3838 resources: [
3939 . copy( " route_guide_db.json " )
40+ ] ,
41+ plugins: [
42+ . plugin( name: " GRPCProtobufGenerator " , package : " grpc-swift-protobuf " )
4043 ]
4144 )
4245 ]
You can’t perform that action at this time.
0 commit comments