From 0557e48007e166be0b3213cb8db848b852426cc1 Mon Sep 17 00:00:00 2001 From: Mihael Isaev Date: Mon, 2 Mar 2020 20:09:02 +0400 Subject: [PATCH] Package.swift: fix for swift-tools 5.2 --- Package.swift | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 540eb7c..8a84620 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,12 @@ let package = Package( .package(url: "https://github.com/vapor/jwt.git", from: "4.0.0-rc"), ], targets: [ - .target(name: "FCM", dependencies: ["Vapor", "JWT"]), - .testTarget(name: "FCMTests", dependencies: ["FCM"]), + .target(name: "FCM", dependencies: [ + .product(name: "Vapor", package: "vapor"), + .product(name: "JWT", package: "jwt"), + ]), + .testTarget(name: "FCMTests", dependencies: [ + .target(name: "FCM"), + ]), ] )