forked from Moya/Moya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
47 lines (46 loc) · 1.5 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Moya",
products: [
.library(name: "Moya", targets: ["Moya"]),
.library(name: "ReactiveMoya", targets: ["ReactiveMoya"]),
.library(name: "RxMoya", targets: ["RxMoya"])
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "4.1.0")),
.package(url: "https://github.com/antitypical/Result.git", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "4.0.0"))
],
targets: [
.target(
name: "Moya",
dependencies: [
"Alamofire",
"Result"],
exclude: [
"Tests",
"Sources/Supporting Files",
"Examples"]),
.target(
name: "ReactiveMoya",
dependencies: [
"Moya",
"ReactiveSwift"],
exclude: [
"Tests",
"Sources/Supporting Files",
"Examples"]),
.target(
name: "RxMoya",
dependencies: [
"Moya",
"RxSwift"],
exclude: [
"Tests",
"Sources/Supporting Files",
"Examples"])
],
swiftLanguageVersions: [3, 4]
)