-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
115 lines (114 loc) · 2.5 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "PovioKit",
platforms: [
.iOS(.v13),
.macOS(.v12)
],
products: [
.library(
name: "PovioKitCore",
targets: ["PovioKitCore"]
),
.library(
name: "PovioKitUtilities",
targets: ["PovioKitUtilities"]
),
.library(
name: "PovioKitNetworking",
targets: ["PovioKitNetworking"]
),
.library(
name: "PovioKitPromise",
targets: ["PovioKitPromise"]
),
.library(
name: "PovioKitUIKit",
targets: ["PovioKitUIKit"]
),
.library(
name: "PovioKitSwiftUI",
targets: ["PovioKitSwiftUI"]
),
.library(
name: "PovioKitAsync",
targets: ["PovioKitAsync"]
),
],
dependencies: [
.package(
url: "https://github.com/Alamofire/Alamofire",
.upToNextMajor(from: "5.0.0")
)
],
targets: [
.target(
name: "PovioKitCore",
path: "Sources/Core",
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitNetworking",
dependencies: [
"Alamofire",
"PovioKitPromise",
],
path: "Sources/Networking",
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitPromise",
dependencies: [],
path: "Sources/PromiseKit",
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitUIKit",
dependencies: [
"PovioKitCore",
"PovioKitUtilities",
],
path: "Sources/UI/UIKit",
resources: [.copy("../../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitSwiftUI",
dependencies: [
"PovioKitCore",
],
path: "Sources/UI/SwiftUI",
resources: [.copy("../../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitUtilities",
dependencies: [
"PovioKitCore",
],
path: "Sources/Utilities",
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.target(
name: "PovioKitAsync",
dependencies: [],
path: "Sources/Async",
resources: [.copy("../PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "Tests",
dependencies: [
"PovioKitCore",
"PovioKitPromise",
"PovioKitNetworking",
"PovioKitUIKit",
"PovioKitSwiftUI",
"PovioKitUtilities",
"PovioKitAsync",
],
resources: [
.process("Resources/")
]
),
],
swiftLanguageVersions: [.v5]
)