-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (29 loc) · 912 Bytes
/
Package.swift
File metadata and controls
31 lines (29 loc) · 912 Bytes
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
// 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: "WLNetwork",
platforms: [
.macOS(.v13),
.iOS(.v13)
],
products: [
.library(name: "WLNetwork", targets: ["WLNetwork"]),
],
dependencies: [
.package(url: "https://github.com/vapor/multipart-kit.git", from: "4.7.1"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
],
targets: [
.target(
name: "WLNetwork",
dependencies: [
.product(name: "MultipartKit", package: "multipart-kit"),
.product(name: "NIOFoundationCompat", package: "swift-nio")
]
),
.testTarget(
name: "WLNetworkTests",
dependencies: ["WLNetwork"]),
]
)