-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
118 lines (113 loc) · 3.9 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
// sdk-version:2.23.0
import PackageDescription
let package = Package(
name: "RxKakaoOpenSDK",
defaultLocalization: "ko",
platforms: [
.iOS(.v13)
],
products: [
.library(
name: "RxKakaoSDK",
targets: ["RxKakaoSDKCommon", "RxKakaoSDKAuth", "RxKakaoSDKUser", "RxKakaoSDKCert", "RxKakaoSDKTalk", "RxKakaoSDKFriend", "RxKakaoSDKShare"]),
.library(
name: "RxKakaoSDKCommon",
targets: ["RxKakaoSDKCommon"]),
.library(
name: "RxKakaoSDKAuth",
targets: ["RxKakaoSDKAuth"]),
.library(
name: "RxKakaoSDKUser",
targets: ["RxKakaoSDKUser"]),
.library(
name: "RxKakaoSDKCert",
targets: ["RxKakaoSDKCert"]),
.library(
name: "RxKakaoSDKTalk",
targets: ["RxKakaoSDKTalk"]),
.library(
name: "RxKakaoSDKFriend",
targets: ["RxKakaoSDKFriend"]),
.library(
name: "RxKakaoSDKShare",
targets: ["RxKakaoSDKShare"])
],
dependencies: [
.package(name: "KakaoOpenSDK",
url: "https://github.com/kakao/kakao-ios-sdk.git",
.exact("2.23.0")
),
.package(name: "RxAlamofire",
url: "https://github.com/RxSwiftCommunity/RxAlamofire.git",
Version(6,0,0)..<Version(7,0,0)),
.package(name: "RxSwift",
url: "https://github.com/ReactiveX/RxSwift.git",
Version(6,0,0)..<Version(7,0,0))
],
targets: [
.target(
name: "RxKakaoSDKCommon",
dependencies: [
.product(name: "RxSwift", package: "RxSwift"),
.product(name: "RxCocoa", package: "RxSwift"),
.product(name: "RxAlamofire", package: "RxAlamofire"),
.product(name: "KakaoSDKCommon", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKAuth",
dependencies: [
.target(name: "RxKakaoSDKCommon"),
.product(name: "KakaoSDKAuth", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKUser",
dependencies: [
.target(name: "RxKakaoSDKAuth"),
.product(name: "KakaoSDKUser", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKCert",
dependencies: [
.target(name: "RxKakaoSDKUser"),
.product(name: "KakaoSDKCert", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKTalk",
dependencies: [
.target(name: "RxKakaoSDKUser"),
.product(name: "KakaoSDKTalk", package: "KakaoOpenSDK"),
.product(name: "KakaoSDKTemplate", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKFriend",
dependencies: [
.target(name: "RxKakaoSDKUser"),
.product(name: "KakaoSDKFriend", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
.target(
name: "RxKakaoSDKShare",
dependencies: [
.target(name: "RxKakaoSDKCommon"),
.product(name: "KakaoSDKShare", package: "KakaoOpenSDK")
],
exclude: ["Info.plist", "README.md"]
),
],
swiftLanguageVersions: [
.v5
]
)