-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
74 lines (73 loc) · 2.77 KB
/
Package.swift
File metadata and controls
74 lines (73 loc) · 2.77 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// swift-tools-version: 6.2
// This is a Skip (https://skip.tools) package.
import PackageDescription
let package = Package(
name: "bluetooth-explorer",
defaultLocalization: "en",
platforms: [.iOS(.v17), .macOS(.v14)],
products: [
.library(name: "BluetoothExplorer", type: .dynamic, targets: ["BluetoothExplorer"])
],
dependencies: [
.package(url: "https://source.skip.tools/skip.git", from: "1.7.1"),
.package(url: "https://source.skip.tools/skip-model.git", from: "1.0.0"),
.package(url: "https://github.com/MillerTechnologyPeru/skip-fuse-ui.git", branch: "feature/pureswift"),
.package(url: "https://github.com/MillerTechnologyPeru/skip-fuse.git", branch: "feature/pureswift"),
.package(url: "https://github.com/PureSwift/GATT.git", branch: "master"),
.package(url: "https://github.com/PureSwift/AndroidBluetooth.git", branch: "master")
],
targets: [
.target(
name: "BluetoothExplorer",
dependencies: [
"BluetoothExplorerUI",
.product(
name: "SkipFuseUI",
package: "skip-fuse-ui"
)
],
resources: [.process("Resources")],
plugins: [.plugin(name: "skipstone", package: "skip")]
),
.target(
name: "BluetoothExplorerUI",
dependencies: [
"BluetoothExplorerModel",
.product(name: "SkipModel", package: "skip-model"),
.product(name: "SkipFuse", package: "skip-fuse"),
.product(name: "SkipFuseUI", package: "skip-fuse-ui")
],
resources: [.process("Resources")],
plugins: [.plugin(name: "skipstone", package: "skip")]
),
.target(
name: "BluetoothExplorerModel",
dependencies: [
.product(
name: "GATT",
package: "GATT"
),
.product(
name: "DarwinGATT",
package: "GATT",
condition: .when(platforms: [.macOS, .iOS, .macCatalyst, .watchOS, .tvOS, .visionOS])
),
.product(
name: "AndroidBluetooth",
package: "AndroidBluetooth",
condition: .when(platforms: [.android])
),
.product(
name: "SkipFuse",
package: "skip-fuse"
),
.product(
name: "SkipModel",
package: "skip-model"
)
],
resources: [.process("Resources")],
plugins: [.plugin(name: "skipstone", package: "skip")]
)
]
)