IceCubesApp/Packages/Network/Package.swift
2024-08-12 22:11:38 +02:00

37 lines
736 B
Swift

// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Network",
defaultLocalization: "en",
platforms: [
.iOS(.v17),
.visionOS(.v1),
],
products: [
.library(
name: "Network",
targets: ["Network"]
),
],
dependencies: [
.package(name: "Models", path: "../Models"),
],
targets: [
.target(
name: "Network",
dependencies: [
.product(name: "Models", package: "Models"),
],
swiftSettings: [
.swiftLanguageMode(.v6),
]
),
.testTarget(
name: "NetworkTests",
dependencies: ["Network"]
),
]
)