-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
42 lines (40 loc) · 1.09 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
38
39
40
41
42
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "apple-maps-kit",
platforms: [
.macOS(.v13),
.iOS(.v15),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(name: "AppleMapsKit", targets: ["AppleMapsKit"])
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.24.0"),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "5.1.1"),
],
targets: [
.target(
name: "AppleMapsKit",
dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "JWTKit", package: "jwt-kit"),
],
swiftSettings: swiftSettings
),
.testTarget(
name: "AppleMapsKitTests",
dependencies: [
.target(name: "AppleMapsKit")
],
swiftSettings: swiftSettings
),
]
)
var swiftSettings: [SwiftSetting] {
[
.enableUpcomingFeature("ExistentialAny")
]
}