-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPilot.podspec
47 lines (38 loc) · 1.72 KB
/
Pilot.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
require_relative 'podspec_versions.rb'
properties = load_properties('gradle.properties')
Pod::Spec.new do |spec|
spec.name = "Pilot"
spec.version = "#{properties['version']}"
spec.homepage = "https://github.com/mirego/viewmodel-pilot"
spec.source = { :git => "https://github.com/mirego/viewmodel-pilot", :tag => "#{spec.version}" }
spec.authors = { "Nicolas Presseault" => "[email protected]" }
spec.license = { :type => "MIT", :file => "LICENSE.md" }
spec.summary = "ViewModel Pilot"
spec.static_framework = true
spec.source_files = "ios/**/*.swift"
spec.ios.deployment_target = "15.0"
spec.tvos.deployment_target = "15.0"
spec.osx.deployment_target = "12.0"
spec.dependency "Shared"
spec.subspec "Navigation" do |subspec|
subspec.source_files = "navigation/ios/**/*.swift"
subspec.osx.exclude_files = "navigation/ios/FullScreenNotAnimatedPresenter.swift"
end
spec.subspec "ViewModel" do |subspec|
subspec.source_files = "viewmodel/ios/**/*.swift"
end
spec.subspec "Components" do |subspec|
subspec.source_files = "components/ios/base/**/*.swift"
subspec.osx.exclude_files = [
"components/ios/base/Types/PilotKeyboardType.swift",
"components/ios/base/Types/PilotKeyboardAutoCapitalization.swift",
"components/ios/base/Types/PilotTextContentType.swift"
]
subspec.dependency 'Pilot/ViewModel'
end
spec.subspec "Components.Kingfisher" do |subspec|
subspec.source_files = "components/ios/kingfisher/**/*.swift"
subspec.dependency 'Pilot/Components'
subspec.dependency 'Kingfisher', '~> 7.10.1'
end
end