forked from vamsii777/vapor-oauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
34 lines (33 loc) · 1008 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "vapor-oauth",
platforms: [
.macOS(.v12)
],
products: [
.library(
name: "OAuth",
targets: ["VaporOAuth"]
)
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.90.0"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.1.0"),
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.13.1")
],
targets: [
.target(
name: "VaporOAuth",
dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "JWTKit", package: "jwt-kit")
]
),
.testTarget(name: "VaporOAuthTests", dependencies: [
.target(name: "VaporOAuth"),
.product(name: "XCTVapor", package: "vapor")
])
]
)