forked from kylebrowning/APNSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
41 lines (40 loc) · 1.62 KB
/
Package.swift
File metadata and controls
41 lines (40 loc) · 1.62 KB
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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "apnswift",
platforms: [
.macOS(.v10_15),
],
products: [
.executable(name: "APNSwiftExample", targets: ["APNSwiftExample"]),
.library(name: "APNSwift", targets: ["APNSwift"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.10.1"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.4.0"),
.package(url: "https://github.com/apple/swift-nio-http2.git", from: "1.6.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.0.0-rc"),
],
targets: [
.target(name: "APNSwiftExample", dependencies: [
.target(name: "APNSwift"),
]),
.target(name: "APNSwiftPemExample", dependencies: [
.target(name: "APNSwift"),
]),
.testTarget(name: "APNSwiftTests", dependencies: [
.target(name: "APNSwift"),
]),
.target(name: "APNSwift", dependencies: [
.product(name: "JWTKit", package: "jwt-kit"),
.product(name: "Logging", package: "swift-log"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOSSL", package: "swift-nio-ssl"),
.product(name: "NIOHTTP1", package: "swift-nio"),
.product(name: "NIOHTTP2", package: "swift-nio-http2"),
.product(name: "NIOFoundationCompat", package: "swift-nio"),
.product(name: "NIOTLS", package: "swift-nio"),
]),
]
)