forked from signalfx/splunk-otel-ios
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
39 lines (37 loc) · 1.12 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "SplunkOtel",
platforms: [
.iOS(.v11),
.macOS(.v10_13)
],
products: [
.library(name: "SplunkOtel", targets: ["SplunkOtel"])
],
dependencies: [
.package(name: "opentelemetry-swift", url:"https://github.com/open-telemetry/opentelemetry-swift", from: "1.1.0"),
.package(url: "https://github.com/devicekit/DeviceKit.git", from: "4.0.0"),
],
targets: [
.target(
name: "SplunkOtel",
dependencies: [
.product(name: "OpenTelemetryApi", package:"opentelemetry-swift"),
.product(name: "OpenTelemetrySdk", package:"opentelemetry-swift"),
.product(name: "StdoutExporter", package:"opentelemetry-swift"),
.product(name: "ZipkinExporter", package:"opentelemetry-swift"),
.product(name: "DeviceKit", package: "DeviceKit")
],
path: "SplunkRumWorkspace/SplunkRum",
exclude: [
"SplunkRumTests",
"SplunkRum/SplunkRum.h",
"SplunkRum/Info.plist"
],
sources: [
"SplunkRum",
]
)
]
)