diff --git a/Package.swift b/Package.swift index 0a9a5794..046bc272 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.1 +// swift-tools-version:5.2 import PackageDescription @@ -12,11 +12,11 @@ let package = Package( platforms: [.iOS(.v9), .macOS(.v10_11), .tvOS(.v9), .watchOS(.v2)], products: [.library(name: "Auth0", targets: ["Auth0"])], dependencies: [ - .package(url: "https://github.com/auth0/SimpleKeychain.git", .upToNextMajor(from: "0.12.0")), - .package(url: "https://github.com/auth0/JWTDecode.swift.git", .upToNextMajor(from: "2.5.0")), - .package(url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "3.0.0")), - .package(url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.0.0")), - .package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMajor(from: "9.0.0")) + .package(name: "SimpleKeychain", url: "https://github.com/auth0/SimpleKeychain.git", .upToNextMajor(from: "0.12.0")), + .package(name: "JWTDecode", url: "https://github.com/auth0/JWTDecode.swift.git", .upToNextMajor(from: "2.5.0")), + .package(name: "Quick", url: "https://github.com/Quick/Quick.git", .upToNextMajor(from: "3.0.0")), + .package(name: "Nimble", url: "https://github.com/Quick/Nimble.git", .upToNextMajor(from: "9.0.0")), + .package(name: "OHHTTPStubs", url: "https://github.com/AliSoftware/OHHTTPStubs.git", .upToNextMajor(from: "9.0.0")) ], targets: [ .target( @@ -29,7 +29,12 @@ let package = Package( .target(name: "Auth0ObjectiveC", path: "Auth0/ObjectiveC", cSettings: cSettings), .testTarget( name: "Auth0Tests", - dependencies: ["Auth0", "Quick", "Nimble", "OHHTTPStubsSwift"], + dependencies: [ + "Auth0", + "Quick", + "Nimble", + .product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs") + ], path: "Auth0Tests", exclude: ["ObjectiveC"], cSettings: cSettings,