-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
136 lines (134 loc) · 5.14 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
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Rover",
defaultLocalization: "en",
platforms: [.iOS(.v15)],
products: [
.library(
name: "RoverFoundation",
targets: ["RoverFoundation"]),
.library(
name: "RoverData",
targets: ["RoverData"]),
.library(
name: "RoverUI",
targets: ["RoverUI"]),
.library(
name: "RoverExperiences",
targets: ["RoverExperiences"]),
.library(
name: "RoverNotifications",
targets: ["RoverNotifications"]),
.library(
name: "RoverLocation",
targets: ["RoverLocation"]),
.library(
name: "RoverDebug",
targets: ["RoverDebug"]),
.library(
name: "RoverTelephony",
targets: ["RoverTelephony"]),
.library(
name: "RoverTicketmaster",
targets: ["RoverTicketmaster"]),
.library(
name: "RoverSeatGeek",
targets: ["RoverSeatGeek"]),
.library(
name: "RoverAxs",
targets: ["RoverAxs"]),
.library(
name: "RoverAdobeExperience",
targets: ["RoverAdobeExperience"]),
.library(
name: "RoverAppExtensions",
targets: ["RoverAppExtensions"]),
],
dependencies: [
.package(url:"https://github.com/weichsel/ZIPFoundation", .upToNextMinor(from: "0.9.19")),
.package(url:"https://github.com/ticketmaster/iOS-TicketmasterSDK.git", .upToNextMajor(from: "1.7.0")),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "RoverFoundation",
dependencies: [],
path: "Sources/Foundation",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverData",
dependencies: ["RoverFoundation"],
path: "Sources/Data",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverUI",
dependencies: ["RoverData"],
path: "Sources/UI",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverAppExtensions",
dependencies: ["RoverFoundation"],
path: "Sources/AppExtensions"),
.target(
name: "RoverDebug",
dependencies: ["RoverUI"],
path: "Sources/Debug"),
.target(
name: "RoverExperiences",
dependencies: ["RoverUI", "RoverFoundation", "RoverData", "ZIPFoundation"],
path: "Sources/Experiences",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverLocation",
dependencies: ["RoverData"],
path: "Sources/Location",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverNotifications",
dependencies: ["RoverData", "RoverUI"],
path: "Sources/Notifications",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverTelephony",
dependencies: ["RoverData"],
path: "Sources/Telephony",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverTicketmaster",
dependencies: [
"RoverData",
.product(name: "TicketmasterFoundation",
package: "iOS-TicketmasterSDK"),
.product(name: "TicketmasterAuthentication",
package: "iOS-TicketmasterSDK"),
.product(name: "TicketmasterSecureEntry",
package: "iOS-TicketmasterSDK"),
.product(name: "TicketmasterTickets",
package: "iOS-TicketmasterSDK"),
.product(name: "TicketmasterDiscoveryAPI",
package: "iOS-TicketmasterSDK"),
.product(name: "TicketmasterPurchase",
package: "iOS-TicketmasterSDK"),
],
path: "Sources/Ticketmaster",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverSeatGeek",
dependencies: ["RoverData"],
path: "Sources/SeatGeek",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverAxs",
dependencies: ["RoverData"],
path: "Sources/AXS",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
.target(
name: "RoverAdobeExperience",
dependencies: ["RoverData"],
path: "Sources/AdobeExperience",
resources: [.copy("Resources/PrivacyInfo.xcprivacy")]),
]
)