-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathPackage.swift
102 lines (100 loc) · 2.66 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "braze-swift-sdk",
defaultLocalization: "en",
platforms: [
.iOS(.v11),
.tvOS(.v11)
],
products: [
.library(
name: "BrazeKit",
targets: ["BrazeKit", "BrazeKitResources"]
),
.library(
name: "BrazeUI",
targets: ["BrazeUI"]
),
.library(
name: "BrazeLocation",
targets: ["BrazeLocation"]
),
.library(
name: "BrazeNotificationService",
targets: ["BrazeNotificationService"]
),
.library(
name: "BrazePushStory",
targets: ["BrazePushStory"]
),
.library(
name: "BrazeKitCompat",
targets: ["BrazeKitCompat"]
),
.library(
name: "BrazeUICompat",
targets: ["BrazeUICompat"]
),
],
dependencies: [
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.13.2"),
/* ${dependencies-start} */
/* ${dependencies-end} */
],
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.0.0/BrazeKit.zip",
checksum: "ae890a450e889ad57399b36835af98699defc02da2fff9bd1756b8963d545eb5"
),
.target(
name: "BrazeKitResources",
resources: [
.process("Resources"),
]
),
.target(
name: "BrazeUI",
dependencies: [
.target(name: "BrazeKit"),
],
resources: [.process("Resources")]
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.0.0/BrazeLocation.zip",
checksum: "eb32a3834e0dc09df3c069647b6ac1e1fbce5cb1fed49050325277e12c7773cd"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.0.0/BrazeNotificationService.zip",
checksum: "ebf1ca2501212501853662a3853b498063a3f2b46ae2de072262666c4f731e24"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/7.0.0/BrazePushStory.zip",
checksum: "26e3ff1284d14a2d2c7c9d02ee08745bc0babd662ed5067b306ff8aa90d4bb3d"
),
.target(
name: "BrazeKitCompat",
dependencies: [
.target(name: "BrazeKit"),
.target(name: "BrazeLocation"),
]
),
.target(
name: "BrazeUICompat",
dependencies: [
"BrazeKitCompat",
"SDWebImage",
],
resources: [
.process("ABKNewsFeed/Resources"),
.process("ABKInAppMessage/Resources"),
.process("ABKContentCards/Resources")
],
publicHeadersPath: "include/AppboyUI"
),
]
)