-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
53 lines (51 loc) · 1.48 KB
/
Package.swift
File metadata and controls
53 lines (51 loc) · 1.48 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
// 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: "MVVMKit",
platforms: [.iOS(.v11)],
products: [
.library(
name: "MVVMKitBond",
targets: ["MVVMKit_Bond"]
),
.library(
name: "MVVMKitRx",
targets: ["MVVMKit_Rx"]
)
],
dependencies: [
.package(name: "SnapKit", url: "https://github.com/SnapKit/SnapKit", from: "5.0.1"),
.package(name: "Bond", url: "https://github.com/DeclarativeHub/Bond", from: "7.8.0"),
.package(name: "RxSwift", url: "https://github.com/ReactiveX/RxSwift", from: "6.2.0"),
.package(name: "RxDataSources", url: "https://github.com/RxSwiftCommunity/RxDataSources", from: "5.0.0"),
.package(name: "Differ", url: "https://github.com/tonyarnold/Differ", from: "1.4.6")
],
targets: [
.target(
name: "MVVMKit_Base",
dependencies: [
.product(name: "SnapKit", package: "SnapKit")
],
path: "MVVMKit/Base"
),
.target(
name: "MVVMKit_Bond",
dependencies: [
"MVVMKit_Base",
.product(name: "Bond", package: "Bond")
],
path: "MVVMKit/Bond"
),
.target(
name: "MVVMKit_Rx",
dependencies: [
"MVVMKit_Base",
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxDataSources", package: "RxDataSources"),
.product(name: "Differ", package: "Differ")
],
path: "MVVMKit/Rx"
)
]
)