-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
77 lines (77 loc) · 3.36 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
70
71
72
73
74
75
76
77
// 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: "Data4LifeFHIR",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "Data4LifeFHIRCore",
targets: ["Data4LifeFHIRCore"]),
.library(
name: "Data4LifeFHIR",
targets: ["Data4LifeFHIR"]),
.library(
name: "ModelsR4",
targets: ["ModelsR4"])
],
dependencies: [
.package(name: "Data4LifeSDKUtils",
url: "https://github.com/d4l-data4life/d4l-utils-ios.git",
.upToNextMinor(from: "0.7.0"))
],
targets: [
.binaryTarget(
name: "Data4LifeFHIRCore",
url: "https://d4l-ios-artifact-repository.s3.eu-central-1.amazonaws.com/d4l-data4life/d4l-fhir-ios/Data4LifeFHIRCore-xcframework-v0.23.2.zip",
checksum: "eb99686172041361791243c11a2258989fc2a7778dc5fef27b691697e7d8fcc9"
),
.binaryTarget(
name: "Data4LifeFHIR",
url: "https://d4l-ios-artifact-repository.s3.eu-central-1.amazonaws.com/d4l-data4life/d4l-fhir-ios/Data4LifeFHIR-xcframework-v0.23.2.zip",
checksum: "c2ad9349fda0c2243fd07581b5b51c1c967b68742f567209682e1966c792c52c"
),
.binaryTarget(
name: "ModelsR4",
url: "https://d4l-ios-artifact-repository.s3.eu-central-1.amazonaws.com/d4l-data4life/d4l-fhir-ios/ModelsR4-xcframework-v0.23.2.zip",
checksum: "2cb74624bedd7e36f6572255f376f24a25d1fc1b1e89e713dbe00ae973a0966a"
),
.target(name: "Data4LifeSDKUtilsFHIR",
dependencies: [
.product(name: "Data4LifeSDKUtils",
package: "Data4LifeSDKUtils",
condition: .when(platforms: [.iOS]))
],
path: "SwiftPMDummyTargets/SDKUtilsDependency"),
.target(name: "Data4LifeFhirAllFrameworks",
dependencies: [
.target(name: "Data4LifeSDKUtilsFHIR"),
.target(name: "Data4LifeFHIR"),
.target(name: "Data4LifeFHIRCore")
],
path: "SwiftPMDummyTargets/FhirAllFrameworks"),
.target(name: "ModelsR4AllFrameworks",
dependencies: [
.target(name: "Data4LifeSDKUtilsFHIR"),
.target(name: "ModelsR4"),
.target(name: "Data4LifeFHIRCore")
],
path: "SwiftPMDummyTargets/ModelsR4AllFrameworks"),
.testTarget(name: "Data4LifeFhirTests",
dependencies: ["Data4LifeFhirAllFrameworks"],
path: "FhirStu3/Tests",
exclude: ["Info.plist"],
resources: [.process("Examples")]),
.testTarget(name: "ModelsR4Tests",
dependencies: ["ModelsR4AllFrameworks"],
path: "FhirR4/Tests",
exclude: ["Info.plist"],
resources: [.process("Resources")]),
.testTarget(name: "Data4LifeFhirCoreTests",
dependencies: ["Data4LifeFHIRCore", "Data4LifeFHIR", "ModelsR4"],
path: "Data4LifeFhirCoreTests",
exclude: ["Info.plist"])
]
)