-
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.16"),
.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/7d94675f/release/WidgetSDK-iOS-0.4.16.zip",
checksum: "b7e44d5d39431d2c30ab96abbe4f84384025b3bb6ee61a5fdf7b732cfa141b65"
),
.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")
]
)