-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
26 lines (24 loc) · 982 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "PayPalKit",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .macCatalyst(.v13)],
products: [
.library(name: "PayPalKit", targets: ["PayPalKit"]),
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.20.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.1.0")
],
targets: [
.target(name: "PayPalKit", dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "Crypto", package: "swift-crypto"),
]),
.testTarget(
name: "PayPalKitTests",
dependencies: ["PayPalKit", .product(name: "AsyncHTTPClient", package: "async-http-client"),]
),
]
)