-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathPackage.swift
31 lines (29 loc) · 1.16 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapgoCapacitorDataStorageSqlite",
platforms: [.iOS(.v14)],
products: [
.library(
name: "CapgoCapacitorDataStorageSqlite",
targets: ["CapgoCapacitorDataStorageSqlitePlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.2.0")
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.3")
],
targets: [
.target(
name: "CapgoCapacitorDataStorageSqlitePlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "SQLite", package: "SQLite.swift/SQLCipher")
],
path: "ios/Sources/CapgoCapacitorDataStorageSqlitePlugin"),
.testTarget(
name: "CapgoCapacitorDataStorageSqlitePluginTests",
dependencies: ["CapgoCapacitorDataStorageSqlitePlugin"],
path: "ios/Tests/CapgoCapacitorDataStorageSqlitePluginTests")
]
)