forked from bmoliveira/Moya-ObjectMapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
49 lines (47 loc) · 1.74 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
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Moya-ObjectMapper",
products: [
.library(name: "Moya-ObjectMapper", targets: ["Moya-ObjectMapper"]),
.library(name: "Moya-RxSwift-ObjectMapper", targets: ["Moya-RxSwift-ObjectMapper"]),
.library(name: "Moya-ReactiveSwift-ObjectMapper", targets: ["Moya-ReactiveSwift-ObjectMapper"])
],
dependencies: [
.package(url: "https://github.com/Moya/Moya.git", .upToNextMajor(from: "12.0.0")),
.package(url: "https://github.com/tristanhimmelman/ObjectMapper.git", .upToNextMajor(from: "3.4.0")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "4.5.0")),
.package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", .upToNextMajor(from: "4.0.0"))
],
targets: [
.target(
name: "Moya-ObjectMapper",
dependencies: [
"Moya",
"ObjectMapper"],
path: "Source/Core",
exclude: [
"Sample"]),
.target(
name: "Moya-RxSwift-ObjectMapper",
dependencies: [
"Moya",
"RxMoya",
"ObjectMapper",
"RxSwift"],
path: "Source/RxSwift",
exclude: [
"Sample"]),
.target(
name: "Moya-ReactiveSwift-ObjectMapper",
dependencies: [
"Moya",
"ReactiveMoya",
"ObjectMapper",
"ReactiveSwift"],
path: "Source/ReactiveSwift",
exclude: [
"Sample"])
]
)