-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.swift
31 lines (30 loc) · 1.39 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "swift-log-loki",
platforms: [.macOS(.v14), .iOS(.v17), .tvOS(.v17), .watchOS(.v10), .visionOS(.v1)],
products: [
.library(name: "LoggingLoki", targets: ["LoggingLoki"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-protobuf.git", from: "1.6.0"),
.package(url: "https://github.com/lovetodream/swift-snappy.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"),
.package(url: "https://github.com/swift-server/swift-service-lifecycle.git", from: "2.0.0"),
],
targets: [
.target(
name: "LoggingLoki",
dependencies: [
.product(name: "Logging", package: "swift-log"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
.product(name: "Snappy", package: "swift-snappy"),
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "ServiceLifecycle", package: "swift-service-lifecycle"),
]
),
.testTarget(name: "LoggingLokiTests", dependencies: ["LoggingLoki"]),
]
)