-
Notifications
You must be signed in to change notification settings - Fork 41
/
Package.swift
137 lines (134 loc) · 4.43 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "TealiumSwift",
platforms: [ .iOS(.v12), .macOS(.v10_14), .tvOS(.v12), .watchOS(.v4) ],
products: [
.library(
name: "TealiumAttribution",
targets: ["TealiumAttribution"]),
.library(
name: "TealiumAutotracking",
targets: ["TealiumAutotracking", "TealiumAutotrackingObjC"]),
.library(
name: "TealiumCore",
targets: ["TealiumCore", "TealiumCoreObjC"]),
.library(
name: "TealiumCollect",
targets: ["TealiumCollect"]),
.library(
name: "TealiumInAppPurchase",
targets: ["TealiumInAppPurchase"]),
.library(
name: "TealiumLifecycle",
targets: ["TealiumLifecycle"]),
.library(
name: "TealiumLocation",
targets: ["TealiumLocation"]),
.library(
name: "TealiumMedia",
targets: ["TealiumMedia"]),
.library(
name: "TealiumRemoteCommands",
targets: ["TealiumRemoteCommands"]),
.library(
name: "TealiumTagManagement",
targets: ["TealiumTagManagement"]),
.library(
name: "TealiumVisitorService",
targets: ["TealiumVisitorService"]),
.library(
name: "TealiumMomentsAPI",
targets: ["TealiumMomentsAPI"])
],
dependencies: [
],
targets: [
.target(
name: "TealiumCore",
path: "tealium/core/",
exclude: ["objc"],
resources: [
.process("devicedata/device-names.json"),
.process("PrivacyInfo.xcprivacy")
]
),
.target(
name: "TealiumCoreObjC",
dependencies: ["TealiumCore"],
path: "tealium/core/objc/"
),
.target(
name: "TealiumAttribution",
dependencies: ["TealiumCore"],
path: "tealium/collectors/attribution/",
swiftSettings: [.define("attribution")]
),
.target(
name: "TealiumAutotracking",
dependencies: ["TealiumCore"],
path: "tealium/collectors/autotracking",
exclude: ["objc"],
swiftSettings: [.define("autotracking")]
),
.target(
name: "TealiumAutotrackingObjC",
dependencies: ["TealiumAutotracking"],
path: "tealium/collectors/autotracking/objc/"
),
.target(
name: "TealiumCollect",
dependencies: ["TealiumCore"],
path: "tealium/dispatchers/collect/",
swiftSettings: [.define("collect")]
),
.target(
name: "TealiumInAppPurchase",
dependencies: ["TealiumCore"],
path: "tealium/collectors/inapppurchase/",
swiftSettings: [.define("inapppurchase")]
),
.target(
name: "TealiumLifecycle",
dependencies: ["TealiumCore"],
path: "tealium/collectors/lifecycle/",
swiftSettings: [.define("lifecycle")]
),
.target(
name: "TealiumLocation",
dependencies: ["TealiumCore"],
path: "tealium/collectors/location/",
swiftSettings: [.define("location")]
),
.target(
name: "TealiumMedia",
dependencies: ["TealiumCore"],
path: "tealium/collectors/media/",
swiftSettings: [.define("media")]
),
.target(
name: "TealiumRemoteCommands",
dependencies: ["TealiumCore"],
path: "tealium/dispatchers/remotecommands/",
swiftSettings: [.define("remotecommands")]
),
.target(
name: "TealiumTagManagement",
dependencies: ["TealiumCore"],
path: "tealium/dispatchers/tagmanagement/",
swiftSettings: [.define("tagmanagement")]
),
.target(
name: "TealiumVisitorService",
dependencies: ["TealiumCore"],
path: "tealium/collectors/visitorservice/",
swiftSettings: [.define("visitorservice")]
),
.target(
name: "TealiumMomentsAPI",
dependencies: ["TealiumCore"],
path: "tealium/collectors/momentsapi/",
swiftSettings: [.define("momentsapi")]
),
]
)