-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
41 lines (37 loc) · 1.39 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
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "WidgetSDK",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "WidgetSDK",
targets: ["WidgetSDKTarget"]
),
],
dependencies: [
.package(url: "https://github.com/sportradar/mobile-us-widgets-shared", exact: "0.4.15"),
.package(url: "https://github.com/Alamofire/Alamofire", from: "5.6.0"),
.package(url: "https://github.com/SnapKit/SnapKit", from: "5.6.0"),
.package(url: "https://github.com/amplitude/Amplitude-iOS", from: "8.10.0")
],
targets: [
.binaryTarget(
name: "WidgetSDK",
url: "https://artifacts.mdp.sportradar.com/apple/native-widgets-core/21b296d8/release/WidgetSDK-iOS-0.4.15.zip",
checksum: "2828f7f93a7d400185977a1f08c771529a589afecb677b46505eb7de258c05f2"
),
.target(
name: "WidgetSDKTarget",
dependencies: [
.target(name: "WidgetSDK"),
.product(name: "shared", package: "mobile-us-widgets-shared"),
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "SnapKit", package: "SnapKit"),
.product(name: "Amplitude", package: "Amplitude-iOS")
],
path: "WidgetSDKTarget")
]
)