鲁浩 11 months ago
parent
commit
7343989d14
2 changed files with 13 additions and 3 deletions
  1. 10 1
      KituraApi/Package.resolved
  2. 3 2
      KituraApi/Package.swift

+ 10 - 1
KituraApi/Package.resolved

@@ -1,5 +1,5 @@
 {
-  "originHash" : "7153757b46110cf121edf5a8a0709ab962e539cf044017ffef33a8aff1def724",
+  "originHash" : "89c13e24d088b9dafc14b8745bc1aead508e63fc2633e3ab64a4707f4e74c225",
   "pins" : [
     {
       "identity" : "bluesocket",
@@ -64,6 +64,15 @@
         "version" : "1.9.200"
       }
     },
+    {
+      "identity" : "openssl",
+      "kind" : "remoteSourceControl",
+      "location" : "https://github.com/IBM-Swift/OpenSSL.git",
+      "state" : {
+        "revision" : "5dc8cb4f971135c17343e3c6df4f28904a0600e2",
+        "version" : "2.3.1"
+      }
+    },
     {
       "identity" : "swift-log",
       "kind" : "remoteSourceControl",

+ 3 - 2
KituraApi/Package.swift

@@ -6,14 +6,15 @@ import PackageDescription
 let package = Package(
     name: "KituraApi",
     dependencies: [
-            .package(url: "https://github.com/Kitura/Kitura", from: "2.8.0")
+            .package(url: "https://github.com/Kitura/Kitura", from: "2.8.0"),
+            .package(url: "https://github.com/IBM-Swift/OpenSSL.git", from: "2.2.0")
     ],
     targets: [
         // Targets are the basic building blocks of a package, defining a module or a test suite.
         // Targets can depend on other targets in this package and products from dependencies.
         .executableTarget(
             name: "KituraApi",
-            dependencies: ["Kitura"]   
+            dependencies: ["Kitura","OpenSSL"]   
         ),
     ]
 )