-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
55 lines (53 loc) · 1.47 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "FlowSDK",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(
name: "FlowSDK",
targets: ["FlowSDK"])
],
dependencies: [
.package(url: "https://github.com/grpc/grpc-swift.git", from: "1.8.2"),
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.2.0"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.5.1")),
.package(url: "https://github.com/portto/secp256k1.swift", from: "0.7.4")
],
targets: [
.target(
name: "Cadence",
dependencies: [
"BigInt",
"CryptoSwift"
]
),
.target(
name: "FlowSDK",
dependencies: [
"BigInt",
"CryptoSwift",
"Cadence",
.product(name: "GRPC", package: "grpc-swift"),
.product(name: "secp256k1Swift", package: "secp256k1.swift")
]
),
.testTarget(
name: "CadenceTests",
dependencies: ["Cadence"]
),
.testTarget(
name: "FlowSDKTests",
dependencies: ["FlowSDK"],
resources: [
.copy("TestData")
]
),
],
swiftLanguageVersions: [.v5]
)