33 lines
1 KiB
Swift
33 lines
1 KiB
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MessagingAPIClient",
|
|
platforms: [
|
|
.iOS(.v17),
|
|
.macOS(.v14),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "MessagingAPIClient",
|
|
targets: ["MessagingAPIClient"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://forge.nasty.sh/lilith/swift-logging.git", from: "1.0.0"),
|
|
.package(url: "https://forge.nasty.sh/lilith/swift-chat-core.git", from: "1.0.0"),
|
|
.package(url: "https://forge.nasty.sh/lilith/swift-domain-models.git", from: "1.0.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "MessagingAPIClient",
|
|
dependencies: [
|
|
.product(name: "LilithLogging", package: "swift-logging"),
|
|
.product(name: "MessagingChatCore", package: "swift-chat-core"),
|
|
.product(name: "LilithDomainModels", package: "swift-domain-models"),
|
|
],
|
|
path: "Sources/MessagingAPIClient"
|
|
),
|
|
]
|
|
)
|