|
| 1 | +// swift-tools-version:4.0 |
| 2 | + |
| 3 | +/** |
| 4 | + * Copyright IBM Corporation 2018-2019 |
| 5 | + * |
| 6 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | + * you may not use this file except in compliance with the License. |
| 8 | + * You may obtain a copy of the License at |
| 9 | + * |
| 10 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | + * |
| 12 | + * Unless required by applicable law or agreed to in writing, software |
| 13 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | + * See the License for the specific language governing permissions and |
| 16 | + * limitations under the License. |
| 17 | + **/ |
| 18 | + |
| 19 | +import PackageDescription |
| 20 | + |
| 21 | +let package = Package( |
| 22 | + name: "SwiftJWT", |
| 23 | + products: [ |
| 24 | + // Products define the executables and libraries produced by a package, and make them visible to other packages. |
| 25 | + .library( |
| 26 | + name: "SwiftJWT", |
| 27 | + targets: ["SwiftJWT"] |
| 28 | + ) |
| 29 | + ], |
| 30 | + dependencies: [ |
| 31 | + .package(url: "https://github.com/IBM-Swift/BlueRSA.git", from: "1.0.24"), |
| 32 | + .package(url: "https://github.com/IBM-Swift/BlueCryptor.git", from: "1.0.0"), |
| 33 | + .package(url: "https://github.com/IBM-Swift/BlueECC.git", from: "1.1.0"), |
| 34 | + .package(url: "https://github.com/IBM-Swift/LoggerAPI.git", from: "1.7.0"), |
| 35 | + .package(url: "https://github.com/IBM-Swift/KituraContracts.git", from: "1.1.0") |
| 36 | + ], |
| 37 | + targets: [ |
| 38 | + .target(name: "SwiftJWT", dependencies: ["CryptorRSA", "LoggerAPI", "KituraContracts", "Cryptor", "CryptorECC"]), |
| 39 | + .testTarget(name: "SwiftJWTTests", dependencies: ["SwiftJWT"]) |
| 40 | + ] |
| 41 | +) |
0 commit comments