-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
47 lines (44 loc) · 1.97 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
42
43
44
45
46
47
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "edXMobileAnalytics",
defaultLocalization: "en",
platforms: [
.iOS(.v16)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "edXMobileAnalytics",
targets: ["edXMobileAnalytics"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/openedx/openedx-app-foundation-ios.git", from: "1.0.0"),
.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", from: "0.57.0"),
.package(url: "https://github.com/segmentio/analytics-swift.git", from: "1.5.3"),
.package(url: "https://github.com/segment-integrations/analytics-swift-firebase", from: "1.3.5"),
.package(url: "https://github.com/braze-inc/braze-segment-swift", from: "2.2.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "edXMobileAnalytics",
dependencies: [
.product(name: "OEXFoundation", package: "openedx-app-foundation-ios"),
.product(name: "Segment", package: "analytics-swift"),
.product(name: "SegmentFirebase", package: "analytics-swift-firebase"),
.product(name: "SegmentBraze", package: "braze-segment-swift")
],
plugins: [
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLintPlugins")
]
),
.testTarget(
name: "edXMobileAnalyticsTests",
dependencies: ["edXMobileAnalytics"]
),
]
)