-
Notifications
You must be signed in to change notification settings - Fork 39
/
Package.swift
41 lines (39 loc) · 1.06 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Rudder",
platforms: [
.iOS(.v12), .tvOS(.v11), .watchOS("7.0")
],
products: [
.library(
name: "Rudder",
targets: ["Rudder"]
)
],
dependencies: [
.package(name: "MetricsReporter", url: "https://github.com/rudderlabs/metrics-reporter-ios", .exact("2.0.0")),
],
targets: [
.target(
name: "Rudder",
dependencies: [
.product(name: "MetricsReporter", package: "MetricsReporter"),
],
path: "Sources",
sources: ["Classes/"],
resources: [
.copy("Resources/PrivacyInfo.xcprivacy")
],
publicHeadersPath: "Classes/Headers/Public/",
cSettings: [
.headerSearchPath("Classes/Headers/")
]
),
.testTarget(
name: "RudderTests",
dependencies: ["Rudder", "MetricsReporter"],
path: "Tests"
),
]
)