added KreeRequest as a dependency and adjusted the code to it

This commit is contained in:
Wilhelm Oks
2024-12-20 21:58:06 +01:00
parent d9686dae32
commit d782a2fcf5
11 changed files with 31 additions and 226 deletions
+5 -1
View File
@@ -13,11 +13,15 @@ let package = Package(
targets: ["SwiftDevRant"]
),
],
dependencies: [
.package(url: "https://github.com/WilhelmOks/KreeRequest", .upToNextMajor(from: "1.0.2")),
],
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.
.target(
name: "SwiftDevRant"
name: "SwiftDevRant",
dependencies: ["KreeRequest"]
),
.testTarget(
name: "SwiftDevRantTests",