-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathRxNetworks.podspec
83 lines (74 loc) · 2.64 KB
/
RxNetworks.podspec
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
#
# Be sure to run 'pod lib lint RxNetworks.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'RxNetworks'
s.version = '1.1.0'
s.summary = 'Network Architecture API RxSwift + Moya + HandyJSON + Plugins.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.homepage = 'https://github.com/yangKJ/RxNetworks'
s.description = 'https://github.com/yangKJ/RxNetworks/blob/master/README.md'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'yangkejun' => '[email protected]' }
s.source = { :git => 'https://github.com/yangKJ/RxNetworks.git', :tag => "#{s.version}" }
s.social_media_url = 'https://juejin.cn/user/1987535102554472/posts'
s.ios.deployment_target = '11.0'
s.swift_version = '5.0'
s.requires_arc = true
s.static_framework = true
s.module_name = 'RxNetworks'
s.ios.source_files = 'Sources/RxNetworks.h'
s.subspec 'Core' do |xx|
xx.dependency 'Booming/Core'
end
s.subspec 'RxSwift' do |xx|
xx.source_files = 'Sources/RxSwift/*.swift'
xx.dependency 'RxSwift'
xx.dependency 'RxNetworks/Core'
end
s.subspec 'HandyJSON' do |xx|
xx.source_files = 'Sources/HandyJSON/*.swift'
xx.dependency 'HandyJSON'
end
################## -- 插件系列 -- ##################
s.subspec 'Plugins' do |xx|
xx.subspec 'AnimatedLoading' do |xxx|
xxx.dependency 'NetworkLottiePlugin'
end
xx.subspec 'Cache' do |xxx|
xxx.dependency 'NetworkCachePlugin'
end
xx.subspec 'Loading' do |xxx|
xxx.dependency 'NetworkHudsPlugin'
end
xx.subspec 'Warning' do |xxx|
xxx.dependency 'NetworkHudsPlugin'
end
xx.subspec 'Indicator' do |xxx|
xxx.dependency 'Booming/Plugins'
end
xx.subspec 'Debugging' do |xxx|
xxx.dependency 'Booming/Plugins'
end
xx.subspec 'GZip' do |xxx|
xxx.dependency 'Booming/Plugins'
end
xx.subspec 'Shared' do |xxx|
xxx.dependency 'Booming/Plugins'
end
xx.subspec 'Header' do |xxx|
xxx.dependency 'Booming/Plugins'
end
xx.subspec 'Files' do |xxx|
xxx.dependency 'Booming/Plugins'
end
end
end