forked from MLSDev/TRON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TRON.podspec
37 lines (32 loc) · 1.22 KB
/
TRON.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
Pod::Spec.new do |s|
s.name = 'TRON'
s.version = "5.0.2"
s.license = 'MIT'
s.summary = 'Lightweight network abstraction layer, written on top of Alamofire'
s.homepage = 'https://github.com/MLSDev/TRON'
s.authors = { 'Denys Telezhkin' => '[email protected]' }
s.social_media_url = 'https://twitter.com/MLSDevCom'
s.source = { :git => 'https://github.com/MLSDev/TRON.git', :tag => s.version.to_s }
s.requires_arc = true
s.swift_versions = ['4.0', '4.2', '5.0']
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.watchos.deployment_target = '3.0'
s.dependency 'Alamofire' , '~> 5.0'
s.subspec 'Core' do |core|
core.ios.frameworks = 'UIKit'
core.source_files = 'Source/TRON/*.swift'
end
s.subspec 'SwiftyJSON' do |swiftyjson|
swiftyjson.dependency 'TRON/Core'
swiftyjson.dependency 'SwiftyJSON', '~> 5.0'
swiftyjson.source_files = 'Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift'
end
s.subspec 'RxSwift' do |rxswift|
rxswift.dependency 'TRON/Core'
rxswift.dependency 'RxSwift', '~> 5.1'
rxswift.source_files = 'Source/RxTRON/Tron+RxSwift.swift'
end
s.default_subspec = 'Core'
end