-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
56 lines (54 loc) · 1.84 KB
/
Package.swift
File metadata and controls
56 lines (54 loc) · 1.84 KB
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
// swift-tools-version: 6.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SmartIdLib",
platforms: [.iOS(.v18)],
products: [
.library(
name: "SmartIdLib",
targets: ["SmartIdLib"]
),
.library(name: "SmartIdLibMocks", targets: ["SmartIdLibMocks"])
],
dependencies: [
.package(url: "https://github.com/hmlongco/Factory", exact: .init(2, 5, 3)),
.package(url: "https://github.com/Alamofire/Alamofire.git", exact: .init(5, 10, 2)),
.package(path: "../UtilsLib"),
.package(path: "../CommonsLib")
],
targets: [
.target(
name: "SmartIdLib",
dependencies: [
"Alamofire",
"UtilsLib",
"CommonsLib",
.product(name: "FactoryKit", package: "Factory")
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("SendableByDefault"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("InferIsolatedConformances")
]
),
.target(
name: "SmartIdLibMocks",
dependencies: ["SmartIdLib"],
path: "Tests/Mocks/Generated"
),
.testTarget(
name: "SmartIdLibTests",
dependencies: [
"SmartIdLib",
"SmartIdLibMocks",
"UtilsLib",
"CommonsLib",
.product(name: "UtilsLibMocks", package: "utilslib"),
.product(name: "CommonsLibMocks", package: "commonslib"),
.product(name: "FactoryTesting", package: "Factory")
]
)
]
)