-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
85 lines (83 loc) · 2.85 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "AXPOmniSDK",
defaultLocalization: "en",
platforms: [.iOS(.v14)],
products: [
.library(
name: "AXPCore",
targets: ["AXPCoreWrapper"]
),
.library(
name: "AXPCalling",
targets: ["AXPCallingWrapper"]
),
.library(
name: "AXPMessaging",
targets: ["AXPMessagingWrapper"]
),
.library(
name: "AXPMessagingUI",
targets: ["AXPMessagingUI"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "1.4.0")),
.package(url: "https://github.com/apple/swift-openapi-urlsession", .upToNextMinor(from: "1.0.0")),
.package(url: "https://github.com/elegantchaos/DictionaryCoding", .upToNextMajor(from: "1.0.9")),
.package(url: "https://github.com/stasel/WebRTC", .upToNextMajor(from: "120.0.0")),
.package(url: "https://github.com/Thomvis/BrightFutures", .upToNextMajor(from: "8.0.0")),
],
targets: [
.target(
name: "AXPCoreWrapper",
dependencies: [
"AXPCore",
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession")
]
),
.target(
name: "AXPCallingWrapper",
dependencies: [
"AXPCalling",
"AXPCore",
"BrightFutures",
"DictionaryCoding",
"WebRTC",
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession")
]
),
.target(
name: "AXPMessagingWrapper",
dependencies: [
"AXPMessaging",
"AXPCore",
.product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),
.product(name: "OpenAPIURLSession", package: "swift-openapi-urlsession")
]
),
.binaryTarget(
name: "AXPCore",
url: "https://github.com/AvayaExperiencePlatform/omni-sdk-ios/releases/download/v1.1.2/AXPCore.zip",
checksum: "542c909cc73648a5ad5bcff54482dd0d0add61280f72886ad05428a6c13113fb"
),
.binaryTarget(
name: "AXPCalling",
url: "https://github.com/AvayaExperiencePlatform/omni-sdk-ios/releases/download/v1.1.2/AXPCalling.zip",
checksum: "2be52c3ad3f98b22a9569175cf134fed74f835b3c9f377ffb25316a828d3adf4"
),
.binaryTarget(
name: "AXPMessaging",
url: "https://github.com/AvayaExperiencePlatform/omni-sdk-ios/releases/download/v1.1.2/AXPMessaging.zip",
checksum: "dda2a7707572f884f918926b8e3507e55570f018bf86b2b20b7f0660beb53da2"
),
.binaryTarget(
name: "AXPMessagingUI",
url: "https://github.com/AvayaExperiencePlatform/omni-sdk-ios/releases/download/v1.1.2/AXPMessagingUI.zip",
checksum: "bfe8700aa7b0d00777e549d0237039b58316c5ef72e83cb500261327689ff77b"
)
]
)