-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
38 lines (36 loc) · 1.26 KB
/
Copy pathPackage.swift
File metadata and controls
38 lines (36 loc) · 1.26 KB
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
38
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "APIClient",
platforms: [
.iOS(.v17),
.macOS(.v14)
],
products: [
.library(
name: "APIClient",
targets: ["APIClient"]),
],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-docc-plugin", .upToNextMajor(from: "1.4.0")),
.package(url: "https://github.com/no-problem-dev/swift-api-contract.git", from: "2.0.0"),
.package(url: "https://github.com/no-problem-dev/swift-http-transport.git", from: "2.2.0"),
.package(url: "https://github.com/no-problem-dev/swift-structured-data.git", from: "3.0.0")
],
targets: [
.target(
name: "APIClient",
dependencies: [
.product(name: "APIContract", package: "swift-api-contract"),
.product(name: "HTTPTransport", package: "swift-http-transport"),
.product(name: "StructuredDataCore", package: "swift-structured-data"),
.product(name: "JSONParsing", package: "swift-structured-data")
]
),
.testTarget(
name: "APIClientTests",
dependencies: ["APIClient"],
path: "Tests"
)
]
)