-
Notifications
You must be signed in to change notification settings - Fork 49
/
Package.swift
39 lines (37 loc) · 1.09 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "TRON",
platforms: [
.iOS(.v11),
.tvOS(.v11),
.macOS(.v10_13),
.watchOS(.v4)
],
products: [
.library(name: "TRON", targets: ["TRON"]),
.library(name: "TRONSwiftyJSON", targets: ["TRONSwiftyJSON"]),
.library(name: "RxTRON", targets: ["RxTRON"])
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.0.0")),
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", .upToNextMajor(from: ("5.0.0"))),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0"))
],
targets: [
.target(
name: "TRON",
dependencies: [ "Alamofire" ]),
.target(
name: "RxTRON",
dependencies: [
"TRON",
"RxSwift"
]),
.target(
name: "TRONSwiftyJSON",
dependencies: [
"TRON",
"SwiftyJSON"])
]
)