-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (29 loc) · 1.37 KB
/
Package.swift
File metadata and controls
32 lines (29 loc) · 1.37 KB
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
// swift-tools-version:5.7
import PackageDescription
let webAuthPlatforms: [Platform] = [.iOS]
let swiftSettings: [SwiftSetting] = [.define("WEB_AUTH_PLATFORM", .when(platforms: webAuthPlatforms))]
let package = Package(
name: "Cidaas",
platforms: [.iOS(.v11)],
products: [.library(name: "Cidaas", targets: ["Cidaas"])],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.8.1")),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.1")),
.package(url: "https://github.com/jrendel/SwiftKeychainWrapper", .upToNextMajor(from: "4.0.1")),
.package(url: "https://github.com/Flight-School/AnyCodable", from: "0.6.0"),
.package(url: "https://github.com/auth0/JWTDecode.swift.git", from: "2.6.0")
],
targets: [
.target(
name: "Cidaas",
dependencies: [
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "CryptoSwift", package: "CryptoSwift"),
.product(name: "SwiftKeychainWrapper", package: "SwiftKeychainWrapper"),
.product(name: "AnyCodable", package: "AnyCodable"),
.product(name: "JWTDecode", package: "JWTDecode.swift")
],
path: "Cidaas/Classes",
swiftSettings: swiftSettings)
]
)