-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
33 lines (31 loc) · 1.34 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
// swift-tools-version:5.5
// 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 package = Package(
name: "PayUIndia-CommonUI",
platforms: [.iOS(.v13)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "PayUIndia-CommonUI",
targets: ["PayUIndia-CommonUITarget"])
],
dependencies: [
.package(name: "PayUIndia-CrashReporter", url: "https://github.com/payu-intrepos/PayUCrashReporter-iOS.git", from: VERSION_CRASH_REPORTER),
.package(name: "PayUIndia-Analytics", url: "https://github.com/payu-intrepos/PayUAnalytics-iOS.git", from: VERSION_ANALYTICS_KIT)
],
targets: [
.binaryTarget(name: "PayUCommonUI", path: "./PayUCommonUI.xcframework"),
.target(
name: "PayUIndia-CommonUITarget",
dependencies: [
.product(name: "PayUIndia-Analytics", package: "PayUIndia-Analytics"),
"PayUIndia-CrashReporter",
"PayUCommonUI"
],
path: "Wrappers/PayUIndia-CommonUIWrapper"
),
]
)