-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
37 lines (35 loc) · 1.1 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "SmileID",
defaultLocalization: "en",
platforms: [.iOS(.v13)],
products: [
.library(
name: "SmileID",
targets: ["SmileID"]
)
],
dependencies: [
.package(url: "https://github.com/weichsel/ZIPFoundation.git", .upToNextMajor(from: "0.9.0")),
.package(url: "https://github.com/airbnb/lottie-spm", from: "4.5.0"),
.package(url: "https://github.com/fingerprintjs/fingerprintjs-ios", from: "1.5.0")
],
targets: [
.target(
name: "SmileID",
dependencies: [
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
.product(name: "FingerprintJS", package: "fingerprintjs-ios"),
.product(name: "Lottie", package: "lottie-spm")
],
path: "Sources/SmileID",
resources: [.process("Resources")]
),
.testTarget(
name: "SmileIDTests",
dependencies: ["SmileID"],
path: "Tests"
)
]
)