-
-
Notifications
You must be signed in to change notification settings - Fork 107
/
Package.swift
34 lines (33 loc) · 1.38 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapgoCapacitorUpdater",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorUpdaterPlugin",
targets: ["CapacitorUpdaterPlugin"])
],
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.10.1")),
.package(url: "https://github.com/ZipArchive/ZipArchive.git", .upToNextMajor(from: "2.6.0")),
.package(url: "https://github.com/mxcl/Version.git", .upToNextMajor(from: "2.1.0"))
],
targets: [
.target(
name: "CapacitorUpdaterPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "SSZipArchive", package: "ZipArchive"),
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "Version", package: "Version")
],
path: "ios/Sources/CapacitorUpdaterPlugin"),
.testTarget(
name: "CapacitorUpdaterPluginTests",
dependencies: ["CapacitorUpdaterPlugin"],
path: "ios/Tests/CapacitorUpdaterPluginTests")
]
)