28 lines
900 B
Swift
28 lines
900 B
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "DumonGeolocation",
|
|
platforms: [.iOS(.v14)],
|
|
products: [
|
|
.library(
|
|
name: "DumonGeolocation",
|
|
targets: ["DumonGeolocationPlugin"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "7.0.0")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "DumonGeolocationPlugin",
|
|
dependencies: [
|
|
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
.product(name: "Cordova", package: "capacitor-swift-pm")
|
|
],
|
|
path: "ios/Sources/DumonGeolocationPlugin"),
|
|
.testTarget(
|
|
name: "DumonGeolocationPluginTests",
|
|
dependencies: ["DumonGeolocationPlugin"],
|
|
path: "ios/Tests/DumonGeolocationPluginTests")
|
|
]
|
|
) |