-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
executable file
·62 lines (61 loc) · 1.88 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Cobalt",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "Cobalt", targets: ["Cobalt"]),
.library(name: "CobaltCache", targets: ["CobaltCache"]),
.library(name: "CobaltStubbing", targets: ["CobaltStubbing"])
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.2.1")),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", .upToNextMajor(from: "4.2.0")),
.package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "11.0.0")),
.package(url: "https://github.com/UnlockAgency/DebugMasking.git", .upToNextMajor(from: "1.0.1")),
],
targets: [
.target(
name: "Cobalt",
dependencies: [
"Alamofire",
"KeychainAccess",
.product(name: "Logging", package: "swift-log"),
"DebugMasking"
],
path: "Sources/Core",
resources: [
.copy("PrivacyInfo.xcprivacy")
]
),
.target(
name: "CobaltCache",
dependencies: [
"Cobalt"
],
path: "Sources/Cache"
),
.target(
name: "CobaltStubbing",
dependencies: [
"Alamofire",
"Cobalt"
],
path: "Sources/Stubbing"
),
.testTarget(
name: "CobaltTesting",
dependencies: [
"Nimble",
"Cobalt",
"CobaltStubbing",
"CobaltCache"
],
path: "CobaltTests"
)
],
swiftLanguageVersions: [ .v5 ]
)