-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
69 lines (67 loc) · 2.97 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Data4LifeSDK",
platforms: [
.iOS(.v13),
.macOS(.v10_12)
],
products: [
.library(
name: "Data4LifeSDK",
targets: ["Data4LifeSDK", "Data4LifeDependencies"]),
],
dependencies: [
.package(name: "Data4LifeSDKUtils",
url: "https://github.com/d4l-data4life/d4l-utils-ios.git",
.upToNextMinor(from: "0.7.0")),
.package(name: "Data4LifeFHIR",
url: "https://github.com/d4l-data4life/d4l-fhir-ios.git",
.upToNextMinor(from: "0.23.2")),
.package(name: "Data4LifeCrypto",
url: "https://github.com/d4l-data4life/d4l-crypto-ios.git",
.upToNextMinor(from: "1.8.0")),
.package(url: "https://github.com/Alamofire/Alamofire.git",
.upToNextMinor(from: "5.4.1")),
.package(name: "AppAuth",
url: "https://github.com/openid/AppAuth-iOS.git",
.upToNextMinor(from: "1.4.0")),
],
targets: [
.binaryTarget(
name: "Data4LifeSDK",
url: "https://d4l-ios-artifact-repository.s3.eu-central-1.amazonaws.com/d4l-data4life/d4l-sdk-ios/Data4LifeSDK-xcframework-v1.17.0.zip",
checksum: "e0ce3f8007ffd2d2151ab4048b33aca1aa2570e9f47731a332c71e1420142c70"
),
.target(name: "Data4LifeDependencies",
dependencies: [
.product(name: "Data4LifeFHIR",
package: "Data4LifeFHIR",
condition: .when(platforms: [.iOS])),
.product(name: "ModelsR4",
package: "Data4LifeFHIR",
condition: .when(platforms: [.iOS])),
.product(name: "Data4LifeFHIRCore",
package: "Data4LifeFHIR",
condition: .when(platforms: [.iOS])),
.product(name: "Data4LifeSDKUtils",
package: "Data4LifeSDKUtils",
condition: .when(platforms: [.iOS])),
.product(name: "Data4LifeCrypto",
package: "Data4LifeCrypto",
condition: .when(platforms: [.iOS]))
],
path: "Dummies/Data4LifeDependencies"),
.target(name: "OtherDependencies",
dependencies: [
.product(name: "Alamofire",
package: "Alamofire",
condition: .when(platforms: [.iOS])),
.product(name: "AppAuth",
package: "AppAuth",
condition: .when(platforms: [.iOS])),
],
path: "Dummies/OtherDependencies")
]
)