-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
32 lines (30 loc) · 899 Bytes
/
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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(
name: "RizeSDK",
platforms: [
.iOS(SupportedPlatform.IOSVersion.v15),
.macOS(SupportedPlatform.MacOSVersion.v13)
],
products: [
.library(
name: "RizeSDK",
targets: ["RizeSDK"])
],
dependencies: [
.package(url: "https://github.com/realm/SwiftLint.git", from: "0.51.0"),
.package(url: "https://github.com/Kitura/Swift-JWT.git", from: "4.0.0"),
],
targets: [
.target(
name: "RizeSDK",
dependencies: [.product(name: "SwiftJWT", package: "Swift-JWT")],
swiftSettings: [.unsafeFlags(["-enable-testing"])], // For local testing only
plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")]),
.testTarget(
name: "RizeSDKTests",
dependencies: ["RizeSDK"],
plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")])
],
swiftLanguageVersions: [SwiftVersion.v5]
)