forked from isbecker/capacitor-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
28 lines (27 loc) · 913 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: "CapacitorScreenOrientation",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorScreenOrientation",
targets: ["ScreenOrientationPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-spm.git", branch: "main")
],
targets: [
.target(
name: "ScreenOrientationPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-spm"),
.product(name: "Cordova", package: "capacitor-spm")
],
path: "ios/Sources/ScreenOrientationPlugin"),
.testTarget(
name: "ScreenOrientationPluginTests",
dependencies: ["ScreenOrientationPlugin"],
path: "ios/Tests/ScreenOrientationPluginTests")
]
)