-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
30 lines (28 loc) · 979 Bytes
/
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
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "RxRestClient",
platforms: [
.macOS(.v10_12), .iOS(.v10), .tvOS(.v10)
],
products: [
.library(
name: "RxRestClient",
targets: ["RxRestClient"]),
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0")),
.package(url: "https://github.com/RxSwiftCommunity/RxAlamofire.git", .upToNextMajor(from: "6.0.0")),
],
targets: [
.target(
name: "RxRestClient",
dependencies: [
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxAlamofire", package: "RxAlamofire"),
]),
.testTarget(
name: "RxRestClientTests",
dependencies: ["RxRestClient"]),
])