-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
34 lines (31 loc) · 1.02 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
import CompilerPluginSupport
let package = Package(
name: "AsyncMoya",
platforms: [.iOS(.v15), .macOS(.v12)],
products: [
.library(
name: "AsyncMoya",
targets: ["AsyncMoya"]),
],
dependencies: [
.package(url: "https://github.com/Moya/Moya.git", from: "15.0.3"),
.package(url: "https://github.com/Roy-wonji/LogMacro.git", exact: "1.0.5"),
.package(url: "https://github.com/baekteun/EventLimiter.git", from: "2.0.0")
],
targets: [
.target(
name: "AsyncMoya",
dependencies: [
.product(name: "Moya", package: "Moya"),
.product(name: "CombineMoya", package: "Moya"),
.product(name: "RxMoya", package: "Moya"),
.product(name: "LogMacro", package: "LogMacro"),
.product(name: "EventLimiter", package: "EventLimiter")
]
),
],
swiftLanguageModes: [.version("5.10.0"), .version("6.0")]
)