-
Notifications
You must be signed in to change notification settings - Fork 43
/
Package.swift
100 lines (97 loc) · 3.06 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CombineFirebase",
platforms: [.iOS(.v13), .macOS(.v10_15), .tvOS(.v13)],
products: [
.library(
name: "CombineFirebase",
targets: ["CombineFirebase"]
),
.library(
name: "CombineFirebaseAuth",
targets: ["CombineFirebaseAuth"]
),
.library(
name: "CombineFirebaseDatabase",
targets: ["CombineFirebaseDatabase"]
),
.library(
name: "CombineFirebaseFirestore",
targets: ["CombineFirebaseFirestore"]
),
.library(
name: "CombineFirebaseFunctions",
targets: ["CombineFirebaseFunctions"]
),
.library(
name: "CombineFirebaseRemoteConfig",
targets: ["CombineFirebaseRemoteConfig"]
),
.library(
name: "CombineFirebaseStorage",
targets: ["CombineFirebaseStorage"]
),
],
dependencies: [
.package(name: "Firebase", url: "https://github.com/firebase/firebase-ios-sdk.git", "7.3.1"..<"11.0.0"),
],
targets: [
.target(
name: "CombineFirebase",
dependencies: [
"CombineFirebaseAuth",
"CombineFirebaseDatabase",
"CombineFirebaseFirestore",
"CombineFirebaseFunctions",
"CombineFirebaseRemoteConfig",
"CombineFirebaseStorage",
],
path: "Sources/Core"
),
.target(
name: "CombineFirebaseAuth",
dependencies: [
.product(name: "FirebaseAuth", package: "Firebase"),
],
path: "Sources/Auth"
),
.target(
name: "CombineFirebaseDatabase",
dependencies: [
.product(name: "FirebaseDatabase", package: "Firebase"),
],
path: "Sources/Database"
),
.target(
name: "CombineFirebaseFirestore",
dependencies: [
.product(name: "FirebaseFirestore", package: "Firebase"),
.product(name: "FirebaseFirestoreSwift", package: "Firebase"),
],
path: "Sources/Firestore"
),
.target(
name: "CombineFirebaseFunctions",
dependencies: [
.product(name: "FirebaseFunctions", package: "Firebase"),
],
path: "Sources/Functions"
),
.target(
name: "CombineFirebaseRemoteConfig",
dependencies: [
.product(name: "FirebaseRemoteConfig", package: "Firebase"),
],
path: "Sources/RemoteConfig"
),
.target(
name: "CombineFirebaseStorage",
dependencies: [
.product(name: "FirebaseStorage", package: "Firebase"),
],
path: "Sources/Storage"
)
]
)