forked from GetStream/stream-chat-swiftui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
37 lines (34 loc) · 1.11 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.3
// When used via SPM the minimum Swift version is 5.3 because we need support for resources
import Foundation
import PackageDescription
let package = Package(
name: "StreamChatSwiftUI",
defaultLocalization: "en",
platforms: [
.iOS(.v14), .macOS(.v11)
],
products: [
.library(
name: "StreamChatSwiftUI",
targets: ["StreamChatSwiftUI"]
)
],
dependencies: [
.package(url: "https://github.com/GetStream/stream-chat-swift.git", from: "4.34.0"),
.package(url: "https://github.com/kean/Nuke.git", .exact("11.3.1"))
],
targets: [
.target(
name: "StreamChatSwiftUI",
dependencies: [.product(name: "StreamChat", package: "stream-chat-swift"), "Nuke", .product(name: "NukeUI", package: "Nuke")],
exclude: ["README.md", "Info.plist", "Generated/L10n_template.stencil"],
resources: [.process("Resources")]
)
]
)
#if swift(>=5.6)
package.dependencies.append(
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
)
#endif