A WIP swift OAuth Library that one day I'll get back to
at main 42 lines 1.4 kB view raw
1// swift-tools-version: 6.2 2// The swift-tools-version declares the minimum version of Swift required to build this package. 3 4import PackageDescription 5 6let package = Package( 7 name: "Gulliver", 8 platforms: [ 9 .iOS(.v14), 10 .macOS(.v13), 11 .tvOS(.v14), 12 .visionOS(.v1), 13 .watchOS(.v9) 14 ], 15 products: [ 16 // Products define the executables and libraries a package produces, making them visible to other packages. 17 .library( 18 name: "Gulliver", 19 targets: ["Gulliver"] 20 ), 21 ], 22 dependencies: [ 23 .package(url: "https://github.com/fatfingers23/ATIdentityTools.git", branch: "main"), 24// .package(path: "../ATIdentityTools"), 25 .package(url: "https://github.com/hyperoslo/Cache.git", .upToNextMajor(from: "7.4.0")), 26 .package(url: "https://github.com/airsidemobile/JOSESwift.git", from: "3.0.0") 27 ], 28 targets: [ 29 // Targets are the basic building blocks of a package, defining a module or a test suite. 30 // Targets can depend on other targets in this package and products from dependencies. 31 .target( 32 name: "Gulliver", 33 dependencies: [ 34 .product(name: "ATIdentityTools", package: "atidentitytools"), 35 .product(name: "Cache", package: "Cache"), 36// "jose-swift" 37 "JOSESwift" 38 ] 39 ), 40 41 ] 42)