-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
84 lines (82 loc) · 2.71 KB
/
Copy pathPackage.swift
File metadata and controls
84 lines (82 loc) · 2.71 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
75
76
77
78
79
80
81
82
83
84
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "AlloyPlayer",
platforms: [
.iOS(.v15),
.macOS(.v12),
],
products: [
.library(name: "AlloyCore", targets: ["AlloyCore"]),
.library(name: "AlloyAVPlayer", targets: ["AlloyAVPlayer"]),
.library(name: "AlloyPlayerUIKit", targets: ["AlloyPlayerUIKit"]),
.library(name: "AlloyPlayerSwiftUI", targets: ["AlloyPlayerSwiftUI"]),
.library(name: "AlloyListPlayback", targets: ["AlloyListPlayback"]),
.library(name: "AlloyPlayerHTTPMediaCacheSupport", targets: ["AlloyPlayerHTTPMediaCacheSupport"]),
.library(name: "AlloyPlayer", targets: ["AlloyPlayer"]),
],
dependencies: [
.package(url: "https://github.com/sunimp/HTTPMediaCache.git", from: "1.0.3"),
],
targets: [
.target(name: "AlloyCore"),
.target(
name: "AlloyAVPlayer",
dependencies: ["AlloyCore"]
),
.target(
name: "AlloyPlayerUIKit",
dependencies: ["AlloyCore", "AlloyAVPlayer"]
),
.target(
name: "AlloyPlayerSwiftUI",
dependencies: ["AlloyCore", "AlloyAVPlayer", "AlloyPlayerUIKit"]
),
.target(
name: "AlloyListPlayback",
dependencies: ["AlloyCore", "AlloyPlayerUIKit"]
),
.target(
name: "AlloyPlayerHTTPMediaCacheSupport",
dependencies: [
"AlloyCore",
.product(name: "HTTPMediaCache", package: "HTTPMediaCache"),
]
),
.target(
name: "AlloyPlayer",
dependencies: ["AlloyCore", "AlloyAVPlayer", "AlloyPlayerUIKit", "AlloyPlayerSwiftUI", "AlloyListPlayback"]
),
.testTarget(
name: "AlloyCoreTests",
dependencies: ["AlloyCore"]
),
.testTarget(
name: "AlloyAVPlayerTests",
dependencies: ["AlloyAVPlayer"]
),
.testTarget(
name: "AlloyPlayerUIKitTests",
dependencies: ["AlloyPlayerUIKit"]
),
.testTarget(
name: "AlloyPlayerSwiftUITests",
dependencies: ["AlloyPlayerSwiftUI"]
),
.testTarget(
name: "AlloyPlayerTests",
dependencies: ["AlloyPlayer"]
),
.testTarget(
name: "AlloyListPlaybackTests",
dependencies: ["AlloyListPlayback"]
),
.testTarget(
name: "AlloyPlayerHTTPMediaCacheSupportTests",
dependencies: [
"AlloyPlayerHTTPMediaCacheSupport",
.product(name: "HTTPMediaCache", package: "HTTPMediaCache"),
]
),
]
)