-
Notifications
You must be signed in to change notification settings - Fork 15
/
Package.swift
80 lines (77 loc) · 3.74 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
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "PIALibrary",
defaultLocalization: "en",
platforms: [
.iOS(.v12),
.tvOS(.v17)
],
products: [
.library(
name: "PIALibrary",
targets: [
"PIALibrary",
"PIALibraryUtilObjC"
]
)
],
dependencies: [
.package(url: "git@github.com:pia-foss/mobile-ios-releases-kpi.git", exact: "1.2.3"),
.package(url: "git@github.com:pia-foss/mobile-ios-releases-csi.git", exact: "1.3.3"),
.package(url: "git@github.com:pia-foss/mobile-ios-releases-account.git", exact: "1.4.4"),
.package(url: "git@github.com:pia-foss/mobile-ios-releases-regions.git", exact: "1.6.3"),
.package(url: "git@github.com:pia-foss/mobile-ios-openvpn.git", branch: "master"),
.package(url: "git@github.com:pia-foss/mobile-ios-wireguard.git", revision: "bf7b4258d9c9279c6051bba0b7a73ca7d5f9547e"),
.package(url: "https://github.com/hkellaway/Gloss.git", from: "3.1.0"),
.package(url: "https://github.com/airbnb/lottie-ios.git", from: "3.4.1"),
.package(url: "https://github.com/huri000/SwiftEntryKit.git", from: "1.0.3"),
.package(url: "https://github.com/Orderella/PopupDialog.git", branch: "master"),
.package(url: "https://github.com/SwiftyBeaver/SwiftyBeaver.git", from: "1.9.0"),
.package(url: "https://github.com/ashleymills/Reachability.swift.git", from: "4.3.0"),
.package(url: "https://github.com/michaeltyson/TPKeyboardAvoiding.git", from: "1.3.5"),
.package(url: "https://github.com/Alamofire/Alamofire.git", exact: "5.0.1"),
.package(url: "git@github.com:pia-foss/mobile-ios-networking.git", exact: "1.3.1")
],
targets: [
.target(
name: "PIALibrary",
dependencies: [
"SwiftyBeaver",
"Gloss",
"PIALibraryUtilObjC",
"Alamofire",
.product(name: "PopupDialog", package: "PopupDialog", condition: .when(platforms: [.iOS])),
.product(name: "SwiftEntryKit", package: "SwiftEntryKit", condition: .when(platforms: [.iOS])),
.product(name: "Lottie", package: "lottie-ios"),
.product(name: "Reachability", package: "Reachability.swift"),
.product(name: "PIAKPI", package: "mobile-ios-releases-kpi"),
.product(name: "PIACSI", package: "mobile-ios-releases-csi"),
.product(name: "PIARegions", package: "mobile-ios-releases-regions"),
.product(name: "PIAAccount", package: "mobile-ios-releases-account"),
.product(name: "PIAWireguard", package: "mobile-ios-wireguard", condition: .when(platforms: [.iOS])),
.product(name: "TunnelKit", package: "mobile-ios-openvpn", condition: .when(platforms: [.iOS])),
.product(name: "TunnelKitOpenVPN", package: "mobile-ios-openvpn", condition: TargetDependencyCondition.when(platforms: [.iOS])),
.product(name: "TunnelKitOpenVPNAppExtension", package: "mobile-ios-openvpn", condition: TargetDependencyCondition.when(platforms: [.iOS])),
.product(name: "NWHttpConnection", package: "mobile-ios-networking")
],
resources: [
.process("Resources")
]
),
.target(
name: "PIALibraryUtilObjC",
dependencies: []
),
.testTarget(
name: "PIALibraryTests",
dependencies: [
"PIALibrary",
],
resources: [
.process("Resources")
]
),
]
)