-
Notifications
You must be signed in to change notification settings - Fork 5
/
Package.swift
80 lines (78 loc) · 2.36 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.5
import PackageDescription
let package = Package(
name: "FluidInterfaceKit",
platforms: [
.iOS(.v13)
],
products: [
.library(name: "FluidPortal", targets: ["FluidPortal"]),
.library(name: "FluidGesture", targets: ["FluidGesture"]),
.library(name: "FluidStack", targets: ["FluidStack"]),
.library(name: "FluidSnackbar", targets: ["FluidSnackbar"]),
.library(name: "FluidPictureInPicture", targets: ["FluidPictureInPicture"]),
.library(name: "FluidTooltipSupport", targets: ["FluidTooltipSupport"]),
.library(name: "FluidStackRideauSupport", targets: ["FluidStackRideauSupport"]),
.library(name: "FluidKeyboardSupport", targets: ["FluidKeyboardSupport"]),
],
dependencies: [
.package(
url: "https://github.com/FluidGroup/GeometryKit",
.upToNextMajor(from: "1.1.0")
),
.package(
url: "https://github.com/FluidGroup/ResultBuilderKit.git",
.upToNextMajor(from: "1.2.0")
),
.package(
url: "https://github.com/FluidGroup/Rideau.git",
.upToNextMajor(from: "2.1.0")
),
.package(url: "https://github.com/FluidGroup/swiftui-Hosting", from: "1.2.0"),
.package(url: "https://github.com/FluidGroup/swift-rubber-banding", from: "1.0.0"),
],
targets: [
.target(
name: "FluidCore"
),
.target(
name: "FluidPortal",
dependencies: ["FluidRuntime"]
),
.target(
name: "FluidRuntime"
),
.target(
name: "FluidGesture",
dependencies: [
.product(name: "RubberBanding", package: "swift-rubber-banding")
]
),
.target(
name: "FluidTooltipSupport",
dependencies: ["FluidPortal"]
),
.target(
name: "FluidStack",
dependencies: ["GeometryKit", "ResultBuilderKit", "FluidPortal", "FluidCore"]
),
.target(
name: "FluidSnackbar",
dependencies: [
"FluidCore",
.product(name: "SwiftUIHosting", package: "swiftui-Hosting"),
.product(name: "RubberBanding", package: "swift-rubber-banding"),
]
),
.target(
name: "FluidPictureInPicture",
dependencies: ["FluidCore", "FluidStack", "GeometryKit"]
),
.target(
name: "FluidStackRideauSupport",
dependencies: ["FluidStack", "Rideau"]
),
.target(name: "FluidKeyboardSupport"),
.testTarget(name: "FluidStackTests", dependencies: ["FluidStack"]),
]
)