-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
54 lines (51 loc) · 1.83 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
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let rxDependencies: [Package.Dependency] = [
.package(url: "https://github.com/rxswiftcommunity/rxflow", from: "2.11.0"),
.package(url: "https://github.com/sunshinejr/Moya-ModelMapper", from: "10.0.0"),
.package(url: "https://github.com/RxSwiftCommunity/RxRealm", from: "3.1.0"),
.package(url: "https://github.com/RxSwiftCommunity/RxGesture", from: "3.0.3")
]
let package = Package(
name: "Toolkit",
platforms: [
.iOS(.v12),
.tvOS(.v12),
.watchOS(.v5)
],
products: [
.library(name: "Toolkit", targets: ["Toolkit"]),
.library(name: "ToolkitRxSwift", type: .dynamic, targets: ["ToolkitRxSwift"])
],
dependencies: [
.package(url: "https://github.com/SnapKit/SnapKit", from: "5.0.1"),
.package(url: "https://github.com/airbnb/lottie-ios", from: "3.1.9"),
.package(url: "https://github.com/devicekit/DeviceKit", from: "4.2.1"),
.package(url: "https://github.com/evgenyneu/keychain-swift", from: "19.0.0"),
.package(url: "https://github.com/bizz84/SwiftyStoreKit", from: "0.16.1"),
.package(url: "https://github.com/marmelroy/Localize-Swift", from: "3.2.0"),
.package(url: "https://github.com/AliSoftware/Reusable", from: "4.1.1")
] + rxDependencies,
targets: [
.target(
name: "Toolkit",
dependencies: [
"SnapKit",
"Lottie",
"DeviceKit",
"KeychainSwift",
"SwiftyStoreKit",
"Localize_Swift",
"Reusable"
],
path: "Sources",
exclude: ["RxSwift"]),
.target(
name: "ToolkitRxSwift",
dependencies: ["Toolkit", "RxMoya-ModelMapper", "RxFlow", "RxRealm", "RxGesture"],
path: "Sources",
sources: ["RxSwift"])
],
swiftLanguageVersions: [.v5]
)