-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathPackage.swift
40 lines (38 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
34
35
36
37
38
39
40
// swift-tools-version:5.9
//
// The swift-tools-version declares the minimum version of Swift required to build this package.
// Swift 5.9 is available from Xcode 15.0.
import PackageDescription
let package = Package(
name: "ApolloPagination",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(name: "ApolloPagination", targets: ["ApolloPagination"]),
],
dependencies: [
.package(
url: "https://github.com/apollographql/apollo-ios.git",
.upToNextMajor(from: "1.2.0")
),
.package(
url: "https://github.com/apple/swift-collections",
.upToNextMajor(from: "1.0.0")
),
],
targets: [
.target(
name: "ApolloPagination",
dependencies: [
.product(name: "Apollo", package: "apollo-ios"),
.product(name: "ApolloAPI", package: "apollo-ios"),
.product(name: "OrderedCollections", package: "swift-collections"),
],
swiftSettings: [.enableUpcomingFeature("ExistentialAny")]
),
]
)