2023-09-15 12:46:15 +02:00
|
|
|
// swift-tools-version: 5.9
|
2022-12-18 20:30:19 +01:00
|
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2024-01-06 19:27:26 +01:00
|
|
|
name: "StatusKit",
|
2023-01-19 18:14:08 +01:00
|
|
|
defaultLocalization: "en",
|
2022-12-18 20:30:19 +01:00
|
|
|
platforms: [
|
2023-09-18 07:01:23 +02:00
|
|
|
.iOS(.v17),
|
2023-12-19 09:51:20 +01:00
|
|
|
.visionOS(.v1),
|
2022-12-18 20:30:19 +01:00
|
|
|
],
|
|
|
|
products: [
|
|
|
|
.library(
|
2024-01-06 19:27:26 +01:00
|
|
|
name: "StatusKit",
|
|
|
|
targets: ["StatusKit"]
|
2023-01-17 11:36:01 +01:00
|
|
|
),
|
2022-12-18 20:30:19 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
2023-01-16 13:52:56 +01:00
|
|
|
.package(name: "AppAccount", path: "../AppAccount"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.package(name: "Models", path: "../Models"),
|
2023-10-16 19:08:59 +02:00
|
|
|
.package(name: "MediaUI", path: "../MediaUI"),
|
2022-12-19 17:19:33 +01:00
|
|
|
.package(name: "Network", path: "../Network"),
|
2022-12-22 10:53:36 +01:00
|
|
|
.package(name: "Env", path: "../Env"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.package(name: "DesignSystem", path: "../DesignSystem"),
|
2023-12-30 09:08:19 +01:00
|
|
|
.package(url: "https://github.com/nicklockwood/LRUCache", from: "1.0.4"),
|
2022-12-18 20:30:19 +01:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
2024-01-06 19:27:26 +01:00
|
|
|
name: "StatusKit",
|
2022-12-18 20:30:19 +01:00
|
|
|
dependencies: [
|
2023-01-16 13:52:56 +01:00
|
|
|
.product(name: "AppAccount", package: "AppAccount"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.product(name: "Models", package: "Models"),
|
2023-10-16 19:08:59 +02:00
|
|
|
.product(name: "MediaUI", package: "MediaUI"),
|
2022-12-19 17:19:33 +01:00
|
|
|
.product(name: "Network", package: "Network"),
|
2022-12-22 10:53:36 +01:00
|
|
|
.product(name: "Env", package: "Env"),
|
2022-12-18 20:30:19 +01:00
|
|
|
.product(name: "DesignSystem", package: "DesignSystem"),
|
2023-12-30 09:08:19 +01:00
|
|
|
.product(name: "LRUCache", package: "LRUCache"),
|
2023-09-15 12:46:15 +02:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
2023-09-16 14:15:03 +02:00
|
|
|
.enableExperimentalFeature("StrictConcurrency"),
|
2023-01-17 11:36:01 +01:00
|
|
|
]
|
|
|
|
),
|
2022-12-18 20:30:19 +01:00
|
|
|
]
|
|
|
|
)
|