Skip to content

Commit 68dcebb

Browse files
committed
[Update] Add Package@swift-5.9
1 parent 144b489 commit 68dcebb

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Package@swift-5.9.swift

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version: 5.9
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "APIWrapper",
7+
platforms: [
8+
.iOS(.v12),
9+
.macOS(.v10_14),
10+
.tvOS(.v12),
11+
.watchOS(.v5),
12+
.visionOS(.v1)
13+
],
14+
products: [
15+
.library(name: "APIWrapper", targets: ["APIWrapper"]),
16+
.library(name: "AFAPIWrapper", targets: ["AFAPIWrapper"]),
17+
],
18+
dependencies: [
19+
.package(
20+
url: "https://github.com/Alamofire/Alamofire.git",
21+
.upToNextMajor(from: "5.0.0")),
22+
],
23+
targets: [
24+
.target(
25+
name: "APIWrapper",
26+
path: "Sources/Core"),
27+
.target(
28+
name: "AFAPIWrapper",
29+
dependencies: ["APIWrapper", "Alamofire"],
30+
path: "Sources/Alamofire"),
31+
.testTarget(
32+
name: "APIWrapperTests",
33+
dependencies: ["APIWrapper"]),
34+
],
35+
swiftLanguageVersions: [.v5]
36+
)

0 commit comments

Comments
 (0)