-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
23 lines (21 loc) · 1.05 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
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "PictionSDK",
platforms: [.iOS(.v10)],
products: [
.library(name: "PictionSDK", targets: ["PictionSDK"]),
.library(name: "RxPictionSDK", targets: ["RxPictionSDK"]),
],
dependencies: [
.package(url: "https://github.com/sunshinejr/Moya-ModelMapper.git", .upToNextMajor(from: "10.0.0")),
.package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", .upToNextMajor(from: "3.2.1")),
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "5.1.0"))
],
targets: [
.target(name: "PictionSDK", dependencies: ["Moya-ModelMapper", "KeychainAccess"], exclude: ["Demo"]),
.target(name: "RxPictionSDK", dependencies: ["PictionSDK", "RxMoya-ModelMapper", "RxSwift"], exclude: ["Demo"]),
.testTarget(name: "PictionSDKTests", dependencies: ["PictionSDK"], exclude: ["Demo"]),
]
)