-
Notifications
You must be signed in to change notification settings - Fork 85
/
Package.swift
51 lines (49 loc) · 1.98 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
48
49
50
51
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "LaunchDarkly",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.watchOS(.v4),
.tvOS(.v12)
],
products: [
.library(
name: "LaunchDarkly",
targets: ["LaunchDarkly"]),
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .exact("9.1.0")),
.package(url: "https://github.com/Quick/Quick.git", .exact("4.0.0")),
.package(url: "https://github.com/Quick/Nimble.git", .exact("9.2.1")),
.package(url: "https://github.com/mattgallagher/CwlPreconditionTesting", .exact("2.1.2")),
.package(name: "LDSwiftEventSource", url: "https://github.com/LaunchDarkly/swift-eventsource.git", .exact("3.3.0")),
.package(name: "DataCompression", url: "https://github.com/mw99/DataCompression", .exact("3.8.0"))
],
targets: [
.target(
name: "LaunchDarkly",
dependencies: [
.product(name: "LDSwiftEventSource", package: "LDSwiftEventSource"),
.product(name: "DataCompression", package: "DataCompression")
],
path: "LaunchDarkly/LaunchDarkly",
exclude: ["Support"],
resources: [
.process("PrivacyInfo.xcprivacy")
]),
.testTarget(
name: "LaunchDarklyTests",
dependencies: [
"LaunchDarkly",
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs"),
.product(name: "Quick", package: "Quick"),
.product(name: "CwlPreconditionTesting", package: "CwlPreconditionTesting"),
.product(name: "Nimble", package: "Nimble")
],
path: "LaunchDarkly",
exclude: ["LaunchDarklyTests/Info.plist", "LaunchDarklyTests/.swiftlint.yml"],
sources: ["GeneratedCode", "LaunchDarklyTests"]),
],
swiftLanguageVersions: [.v5])