-
Notifications
You must be signed in to change notification settings - Fork 35
/
Japx.podspec
56 lines (47 loc) · 1.77 KB
/
Japx.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
Pod::Spec.new do |s|
s.name = 'Japx'
s.version = '4.0.0'
s.summary = 'Lightweight JSON:API parser.'
s.description = <<-DESC
Lightweight JSON:API parser that flattens complex JSON:API structure and turns it into simple JSON. It can also take simple JSON and turn it into JSON:API structure.
It works by transfering Dictionary to Dictionary, so you can use Codable, Unbox, Wrap, ObjectMapper, or any other object mapping tool that you preffer.
DESC
s.homepage = 'https://github.com/infinum/Japx'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Infinum' => '[email protected]', 'Vlaho Poluta' => '[email protected]', 'Filip Gulan' => '[email protected]' }
s.source = { :git => 'https://github.com/infinum/Japx.git', :tag => s.version.to_s }
s.requires_arc = true
s.platform = :ios, :osx
s.ios.deployment_target = '10.0'
s.osx.deployment_target = '10.12'
s.swift_version = '5.0'
s.default_subspec = 'Core'
s.subspec 'Core' do |sp|
sp.source_files = 'Japx/Classes/Core/**/*'
sp.frameworks = 'Foundation'
end
s.subspec 'Alamofire' do |sp|
sp.source_files = 'Japx/Classes/Alamofire/**/*'
sp.dependency 'Japx/Core'
sp.dependency 'Alamofire'
end
s.subspec 'RxAlamofire' do |sp|
sp.source_files = 'Japx/Classes/RxAlamofire/**/*'
sp.dependency 'Japx/Alamofire'
sp.dependency 'RxSwift'
end
s.subspec 'Moya' do |sp|
sp.source_files = 'Japx/Classes/Moya/**/*'
sp.dependency 'Japx/Core'
sp.dependency 'Moya/Core'
end
s.subspec 'RxMoya' do |sp|
sp.source_files = 'Japx/Classes/RxMoya/**/*'
sp.dependency 'Japx/Moya'
sp.dependency 'Moya/RxSwift'
end
s.subspec 'ObjC' do |sp|
sp.source_files = 'Japx/Classes/ObjC/**/*'
sp.dependency 'Japx/Core'
end
end