-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (26 loc) · 933 Bytes
/
Package.swift
File metadata and controls
28 lines (26 loc) · 933 Bytes
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
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "BatteryAPI",
platforms: [
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "BatteryAPI", targets: ["BatteryAPI"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-openapi-generator", .upToNextMinor(from: "0.3.0")),
.package(url: "https://github.com/apple/swift-openapi-runtime", .upToNextMinor(from: "0.3.0")),
.package(url: "https://github.com/Flight-School/AnyCodable", .upToNextMajor(from: "0.6.1"))
],
targets: [
.target(name: "BatteryAPI",
dependencies: [
.byName(name: "AnyCodable")
],
path: "Packages/battery-api",
sources: ["Sources"]
)
]
)