-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
60 lines (54 loc) · 2.42 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// swift-tools-version:6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let VERSION_ANALYTICS_KIT: PackageDescription.Version = "4.0.2"
let VERSION_CRASH_REPORTER: PackageDescription.Version = "4.0.1"
let VERSION_NETWORK_REACHABILITY: PackageDescription.Version = "2.1.1"
let VERSION_ASSET_LIBRARY: PackageDescription.Version = "4.0.1"
let package = Package(
name: "PayUUPIBoltUIKit",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "PayUIndia-UPIBoltUIKit",
targets: ["PayUIndia-UPIBoltUIKitTarget"]
),
.library(
name: "PayUIndia-UPIBoltKit",
targets: ["PayUIndia-UPIBoltKitTarget"]
)
],
dependencies: [
.package(url: "https://github.com/payu-intrepos/PayUNetworkReachability-iOS.git", from: VERSION_NETWORK_REACHABILITY),
.package(url: "https://github.com/payu-intrepos/PayUAnalytics-iOS.git", from: VERSION_ANALYTICS_KIT),
.package(url: "https://github.com/payu-intrepos/PayUCrashReporter-iOS.git", from: VERSION_CRASH_REPORTER),
.package(url: "https://github.com/payu-intrepos/PayUAssetLibrary-iOS.git", from: VERSION_ASSET_LIBRARY)
],
targets: [
.binaryTarget(name: "PayUUPIBoltUIKit", path: "./Frameworks/PayUUPIBoltUIKit.xcframework"),
.binaryTarget(name: "PayUUPIBoltKit", path: "./Frameworks/PayUUPIBoltKit.xcframework"),
.binaryTarget(name: "PayUUPIBoltBaseKit", path: "./Frameworks/PayUUPIBoltBaseKit.xcframework"),
.target(
name: "PayUIndia-UPIBoltUIKitTarget",
dependencies: [
"PayUUPIBoltUIKit",
"PayUUPIBoltKit",
],
path: "Wrappers/PayUUPIBoltUIKitWrapper"
),
.target(
name: "PayUIndia-UPIBoltKitTarget",
dependencies: [
"PayUUPIBoltKit",
"PayUUPIBoltBaseKit",
.product(name: "PayUIndia-Analytics", package: "PayUAnalytics-iOS"),
.product(name: "PayUIndia-NetworkReachability", package: "PayUNetworkReachability-iOS"),
.product(name: "PayUIndia-CrashReporter", package: "PayUCrashReporter-iOS"),
.product(name: "PayUIndia-AssetLibrary", package: "PayUAssetLibrary-iOS"),
],
path: "Wrappers/PayUUPIBoltKitWrapper"
)
]
)