-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathPackage.swift
32 lines (31 loc) · 1.17 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapawesomeCapacitorLiveUpdate",
platforms: [.iOS(.v16)],
products: [
.library(
name: "CapawesomeCapacitorLiveUpdate",
targets: ["LiveUpdatePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/Alamofire/Alamofire.git", .upToNextMajor(from: "5.9.0")),
.package(url: "https://github.com/ZipArchive/ZipArchive.git", .upToNextMajor(from: "2.2.3"))
],
targets: [
.target(
name: "LiveUpdatePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "ZipArchive", package: "ZipArchive")
],
path: "ios/Plugin"),
.testTarget(
name: "LiveUpdatePluginTests",
dependencies: ["LiveUpdatePlugin"],
path: "ios/PluginTests")
]
)