forked from Apodini/swift-log-elk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
34 lines (31 loc) · 916 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
27
28
29
30
31
32
33
34
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "swift-log-elk",
platforms: [
.macOS(.v10_15),
.iOS(.v13)
],
products: [
.library(name: "LoggingELK", targets: ["LoggingELK"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.4.0")),
.package(url: "https://github.com/swift-server/async-http-client.git", .upToNextMinor(from: "1.5.0"))
],
targets: [
.target(
name: "LoggingELK",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "AsyncHTTPClient", package: "async-http-client")
]
),
.testTarget(
name: "LoggingELKTests",
dependencies: [
.target(name: "LoggingELK")
]
)
]
)