-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
42 lines (40 loc) · 1.38 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
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "didcomm-swift",
platforms: [
.iOS(.v15),
.macOS(.v13),
.macCatalyst(.v15),
.tvOS(.v15),
.watchOS(.v8)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "didcomm-swift",
targets: ["DIDCommSwift"]),
],
dependencies: [
.package(url: "https://github.com/swift-libp2p/swift-multibase.git", .upToNextMajor(from: "0.0.1")),
.package(url: "https://github.com/beatt83/didcore-swift.git", .upToNextMinor(from: "2.0.1")),
.package(url: "https://github.com/beatt83/jose-swift.git", .upToNextMajor(from: "3.2.0"))
],
targets: [
.target(
name: "DIDCommSwift",
dependencies: [
"jose-swift",
.product(name: "Multibase", package: "swift-multibase"),
.product(name: "DIDCore", package: "didcore-swift")
]
),
.testTarget(
name: "DIDCommSwiftTests",
dependencies: [
"DIDCommSwift",
.product(name: "Multibase", package: "swift-multibase")
]),
]
)