-
Notifications
You must be signed in to change notification settings - Fork 1
/
GQNetWork.podspec
59 lines (44 loc) · 1.51 KB
/
GQNetWork.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
Pod::Spec.new do |s|
s.name = "GQNetWork"
s.version = "1.4.5"
s.summary = "继承形式的网络请求库,支持NSURLSession,支持https请求,请求数据缓存机制,支持链式调用"
s.homepage = "https://github.com/g763007297/GQNetWork"
s.license = "MIT (example)"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "developer_高" => "763007297@qq.com" }
s.platform = :ios
s.source = { :git => "https://github.com/g763007297/GQNetWork.git", :tag => s.version }
s.requires_arc = true
s.subspec 'GQNetworking' do |ss|
ss.ios.deployment_target = '6.0'
ss.ios.source_files = [
"GQNetworking/**/*.{h,m}",
"GQRequestSerialization/**/*.{h,m}",
"GQBaseNetwork/**/*.{h,m}",
"GQNetworkOperation/**/*.{h,m}",
]
ss.public_header_files = [
'GQNetworking/**/*.h',
'GQBaseNetwork/**/*.h',
"GQRequestSerialization/**/*.{h,m}",
"GQNetworkOperation/**/*.{h}",
]
end
s.subspec 'GQAFNetworking' do |ss|
ss.ios.deployment_target = '8.0'
ss.ios.source_files = [
"GQNetworking/**/*.{h,m}",
"GQRequestSerialization/**/*.{h,m}",
"GQBaseNetwork/**/*.{h,m}",
"AFNetWorking/**/*.{h,m}",
]
ss.public_header_files = [
'GQNetworking/**/*.h',
"GQRequestSerialization/**/*.{h,m}",
'GQBaseNetwork/**/*.h',
"AFNetWorking/**/*.{h}",
]
ss.dependency 'AFNetworking/NSURLSession'
end
s.default_subspec = 'GQNetworking'
end