-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
35 lines (34 loc) · 1.32 KB
/
Package.swift
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "HederaProto",
products: [
.library(
name: "HederaProtoServices",
targets: ["HederaProtoServices"]),
.library(
name: "HederaProtoStreams",
targets: ["HederaProtoStreams"]),
.library(
name: "HederaProtoMirror",
targets: ["HederaProtoMirror"]),
],
dependencies: [
.package(name: "SwiftProtobuf", url: "https://github.com/apple/swift-protobuf.git", from: "1.17.0"),
.package(name: "grpc-swift", url: "https://github.com/grpc/grpc-swift.git", from: "1.2.0")
],
targets: [
.target(
name: "HederaProtoServices",
dependencies: ["SwiftProtobuf", .product(name: "GRPC", package: "grpc-swift")]),
.target(
name: "HederaProtoStreams",
dependencies: ["SwiftProtobuf", .product(name: "GRPC", package: "grpc-swift"), "HederaProtoServices"]),
.target(
name: "HederaProtoMirror",
dependencies: ["SwiftProtobuf", .product(name: "GRPC", package: "grpc-swift"), "HederaProtoServices"]),
.testTarget(
name: "HederaProtoServicesTests",
dependencies: ["HederaProtoServices", "HederaProtoStreams", "HederaProtoMirror"]),
]
)