-
Notifications
You must be signed in to change notification settings - Fork 6
/
Package.swift
40 lines (39 loc) · 1 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "PAYJP",
platforms: [
.iOS(.v10)
],
products: [
.library(name: "PAYJP", targets: ["PAYJP"])
],
dependencies: [
.package(url: "https://github.com/marmelroy/PhoneNumberKit.git", from: "4.0.0")
],
targets: [
.target(
name: "PAYJP-ObjC",
dependencies: [],
path: "Sources/ObjC",
publicHeadersPath: "Public"
),
.target(
name: "PAYJP",
dependencies: [
"PAYJP-ObjC",
.product(name: "PhoneNumberKit", package: "PhoneNumberKit")
],
path: "Sources",
exclude: [
"ObjC",
"Info.plist"
],
resources: [
.process("Resources/Views"),
.process("Resources/Resource.bundle"),
.copy("Resources/Assets.xcassets")
]
)
]
)