generated from capacitor-community/.github
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
28 lines (27 loc) · 969 Bytes
/
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapacitorCommunityDeviceSecurityDetect",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorCommunityDeviceSecurityDetect",
targets: ["DeviceSecurityDetectPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "main")
],
targets: [
.target(
name: "DeviceSecurityDetectPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm")
],
path: "ios/Sources/DeviceSecurityDetectPlugin"),
.testTarget(
name: "DeviceSecurityDetectPluginTests",
dependencies: ["DeviceSecurityDetectPlugin"],
path: "ios/Tests/DeviceSecurityDetectPluginTests")
]
)