forked from swiftkube/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
45 lines (43 loc) · 1.49 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
33
34
35
36
37
38
39
40
41
42
43
44
45
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftkubeClient",
platforms: [
.macOS(.v10_15), .iOS(.v14), .tvOS(.v14), .watchOS(.v7),
],
products: [
.library(
name: "SwiftkubeClient",
targets: ["SwiftkubeClient"]
),
],
dependencies: [
.package(url: "https://github.com/swiftkube/model.git", .upToNextMinor(from: "0.11.0")),
.package(url: "https://github.com/swift-server/async-http-client.git", .upToNextMajor(from: "1.18.0")),
.package(url: "https://github.com/apple/swift-log.git", .upToNextMajor(from: "1.5.2")),
.package(url: "https://github.com/apple/swift-metrics.git", .upToNextMajor(from: "2.4.0")),
.package(url: "https://github.com/jpsim/Yams.git", .upToNextMajor(from: "5.0.5")),
.package(url: "https://github.com/apple/swift-nio", .upToNextMajor(from: "2.54.0")),
],
targets: [
.target(
name: "SwiftkubeClient",
dependencies: [
.product(name: "SwiftkubeModel", package: "model"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "Logging", package: "swift-log"),
.product(name: "Metrics", package: "swift-metrics"),
.product(name: "Yams", package: "Yams"),
.product(name: "NIO", package: "swift-nio"),
.product(name: "NIOFoundationCompat", package: "swift-nio"),
]
),
.testTarget(
name: "SwiftkubeClientTests",
dependencies: [
"SwiftkubeClient",
]
),
]
)