forked from capacitor-community/admob
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (31 loc) · 1.31 KB
/
Copy pathPackage.swift
File metadata and controls
32 lines (31 loc) · 1.31 KB
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapacitorCommunityAdmob",
platforms: [.iOS(.v15)],
products: [
.library(
name: "CapacitorCommunityAdmob",
targets: ["AdMobPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", exact: "13.6.0"),
.package(url: "https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git", .upToNextMinor(from: "3.1.0"))
],
targets: [
.target(
name: "AdMobPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "GoogleMobileAds", package: "swift-package-manager-google-mobile-ads"),
.product(name: "GoogleUserMessagingPlatform", package: "swift-package-manager-google-user-messaging-platform")
],
path: "ios/Sources/AdMobPlugin"),
.testTarget(
name: "AdMobPluginTests",
dependencies: ["AdMobPlugin"],
path: "ios/Tests/AdMobPluginTests")
]
)