-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
39 lines (37 loc) · 990 Bytes
/
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
// 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: "oauth",
platforms: [
.macOS(.v13),
.iOS(.v15),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(name: "OAuth", targets: ["OAuth"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.1"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.106.0"),
.package(url: "https://github.com/bwdmr/oauth-kit", branch: "main")
],
targets: [
.target(
name: "OAuth",
dependencies: [
.product(name: "OAuthKit", package: "oauth-kit"),
.product(name: "Vapor", package: "vapor")
]
),
.testTarget(
name: "OAuthTests",
dependencies: [
.target(name: "OAuth"),
.product(name: "XCTVapor", package: "vapor")
]
),
],
swiftLanguageModes: [ .v6 ]
)