-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
32 lines (30 loc) · 1.06 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
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "PaylikeClient",
platforms: [.macOS(.v10_15), .iOS(.v13)],
products: [
.library(name: "PaylikeClient", targets: ["PaylikeClient"])
],
dependencies: [
.package(url: "https://github.com/paylike/swift-request", .upToNextMajor(from: "0.3.0")),
.package(url: "https://github.com/Flight-School/AnyCodable", .upToNextMajor(from: "0.6.0")),
.package(url: "https://github.com/httpswift/swifter", .upToNextMajor(from: "1.5.0"))
],
targets: [
.target(
name: "PaylikeClient",
dependencies: [
.product(name: "PaylikeRequest", package: "swift-request"),
.product(name: "AnyCodable", package: "AnyCodable")
]),
.testTarget(
name: "PaylikeClientTests",
dependencies: [
"PaylikeClient",
.product(name: "Swifter", package: "swifter")
]
),
],
swiftLanguageVersions: [.v5]
)