forked from dmytro-anokhin/url-image
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathURLImage.podspec
More file actions
57 lines (41 loc) · 1.83 KB
/
Copy pathURLImage.podspec
File metadata and controls
57 lines (41 loc) · 1.83 KB
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
Pod::Spec.new do |spec|
spec.name = 'URLImage'
spec.version = '2.2.0'
spec.summary = 'SwiftUI Image view that displays an image downloaded from URL.'
spec.description = <<-DESC
URLImage is a SwiftUI view that displays an image downloaded from provided URL. URLImage manages downloading remote image and caching it locally, both in memory and on disk, for you.
DESC
spec.homepage = 'https://github.com/dmytro-anokhin/url-image'
spec.license = 'MIT'
spec.author = { 'Dmytro Anokhin' => '5136301+dmytro-anokhin@users.noreply.github.com' }
spec.source = { :git => 'https://github.com/dmytro-anokhin/url-image.git', :tag => "#{spec.version}" }
spec.source_files = 'Sources', 'Sources/**/*.{swift}'
spec.exclude_files = 'Tests'
spec.swift_versions = '5.3'
spec.platforms = { :ios => '13.0', :tvos => '13.0', :osx => '10.15', :watchos => '6.0' }
spec.subspec 'RemoteContentView' do |ss|
ss.source_files = 'Dependencies/Sources/RemoteContentView/**/*.{swift}'
end
spec.subspec 'ImageDecoder' do |ss|
ss.source_files = 'Dependencies/Sources/ImageDecoder/**/*.{swift}'
end
spec.subspec 'FileIndex' do |ss|
ss.source_files = 'Dependencies/Sources/FileIndex/**/*.{swift}'
ss.dependency 'URLImage/Log'
ss.dependency 'URLImage/PlainDatabase'
ss.dependency 'URLImage/Common'
end
spec.subspec 'PlainDatabase' do |ss|
ss.source_files = 'Dependencies/Sources/PlainDatabase/**/*.{swift}'
end
spec.subspec 'DownloadManager' do |ss|
ss.source_files = 'Dependencies/Sources/DownloadManager/**/*.{swift}'
ss.dependency 'URLImage/Log'
end
spec.subspec 'Common' do |ss|
ss.source_files = 'Dependencies/Sources/Common/**/*.{swift}'
end
spec.subspec 'Log' do |ss|
ss.source_files = 'Dependencies/Sources/Log/**/*.{swift}'
end
end