-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCellularNetworking.podspec
47 lines (37 loc) · 1.53 KB
/
CellularNetworking.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
Pod::Spec.new do |spec|
spec.version = '6.3.0'
spec.swift_version = '5.1'
spec.module_name = 'Networking'
spec.name = 'CellularNetworking'
spec.summary = 'HTTP Networking Framework in Swift by CELLULAR.'
spec.homepage = 'http://www.cellular.de'
spec.authors = { 'CELLULAR GmbH' => '[email protected]' }
spec.license = { :type => 'MIT', :file => 'LICENSE' }
spec.source = { :git => 'https://github.com/cellular/networking-swift.git', :tag => spec.version.to_s }
# Deployment Targets
spec.ios.deployment_target = '11.0'
spec.tvos.deployment_target = '11.0'
spec.watchos.deployment_target = '5.0'
# Core Subspec
spec.subspec 'Core' do |sub|
sub.dependency 'CELLULAR/Locking', '~> 6.0.0'
sub.source_files = 'Sources/Networking/Core/**/*.swift'
end
# Provider Subspecs
spec.subspec 'Alamofire' do |sub|
sub.dependency 'Alamofire', '~> 5.5.0'
sub.dependency 'CellularNetworking/Core'
sub.source_files = 'Sources/Networking/Provider/Alamofire.swift'
end
spec.subspec 'LocalFile' do |sub|
sub.dependency 'CellularNetworking/Core'
sub.source_files = 'Sources/Networking/Provider/Local/*.swift'
end
# Serializable Subspecs
spec.subspec 'Codable' do |sub|
sub.dependency 'CellularNetworking/Core'
sub.source_files = 'Sources/Networking/Serializer/Codable.swift'
end
# Default Subspecs
spec.default_subspecs = 'Alamofire', 'Codable'
end