forked from rudderlabs/metrics-reporter-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
36 lines (34 loc) · 1.08 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "MetricsReporter",
platforms: [
.iOS(.v12), .tvOS(.v11), .macOS("10.13"), .watchOS("7.0")
],
products: [
.library(
name: "MetricsReporter",
targets: ["MetricsReporter"]
)
],
dependencies: [
.package(name: "RudderKit", url: "https://github.com/rudderlabs/rudder-ios-kit", from: "1.4.0"),
.package(name: "RSCrashReporter", url: "https://github.com/rudderlabs/crash-reporter-ios", .exact("1.0.1")),
],
targets: [
.target(
name: "MetricsReporter",
dependencies: [
.product(name: "RudderKit", package: "RudderKit"),
.product(name: "RSCrashReporter", package: "RSCrashReporter"),
],
path: "Sources",
sources: ["Classes/"]
),
.testTarget(
name: "MetricsReporterTests",
dependencies: ["MetricsReporter", "RudderKit", "RSCrashReporter"],
path: "MetricsReporterTests"
),
]
)