-
Notifications
You must be signed in to change notification settings - Fork 4
/
AFNetworking+Ext.podspec
74 lines (40 loc) · 1.76 KB
/
AFNetworking+Ext.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
Pod::Spec.new do |s|
s.name = "AFNetworking+Ext"
s.version = "1.2.1"
s.summary = "AFNetworking的封装, 并提供一个 UIImageView+DYLoading cache in fileSystem+memory"
s.homepage = "https://github.com/junhaiyang/AFNetworkingExt"
s.license = "MIT"
s.author = { "yangjunhai" => "[email protected]" }
s.ios.deployment_target = "6.0"
s.ios.framework = 'UIKit'
s.source = { :git => 'https://github.com/junhaiyang/AFNetworkingExt.git' , :tag => '1.2.1'}
s.requires_arc = true
s.subspec 'Base' do |ds|
ds.source_files = 'Ext/*.{h,m,mm}'
ds.dependency 'AFNetworking+Ext/AFCustomRequestOperation'
ds.dependency 'AFNetworking+Ext/AFDownloadRequestOperation'
ds.dependency 'AFNetworking+Ext/AFTextResponseSerializer'
end
s.subspec 'AFCustomRequestOperation' do |ds|
ds.source_files = 'AFCustomRequestOperation/*.{h,m,mm}'
end
s.subspec 'AFDownloadRequestOperation' do |ds|
ds.dependency 'AFNetworking+Ext/AFCustomRequestOperation'
ds.source_files = 'AFDownloadRequestOperation/*.{h,m,mm}'
end
s.subspec 'AFTextResponseSerializer' do |ds|
ds.source_files = 'AFTextResponseSerializer/*.{h,m,mm}'
end
s.subspec 'UIKit' do |ks|
ks.subspec 'UIImageView+DYLoading' do |ds|
ds.dependency 'AFNetworking+Ext/AFDownloadRequestOperation'
ds.dependency 'AFNetworking+Ext/Base'
ds.source_files = 'UIKit/UIImageView+DYLoading/*.{h,m,mm}'
end
end
s.dependency 'AFNetworking'
s.dependency 'AFNetworkActivityLogger'
s.dependency 'AFgzipRequestSerializer'
s.dependency 'AFOnoResponseSerializer'
s.dependency 'Godzippa'
end