forked from zhangao0086/DKPhotoGallery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDKPhotoGallery.podspec
47 lines (38 loc) · 1.89 KB
/
DKPhotoGallery.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 |s|
s.name = 'DKPhotoGallery'
s.version = '0.0.14'
s.summary = 'A Photo Gallery / Browser / Viewer for iOS written in Swift'
s.homepage = 'https://github.com/zhangao0086/DKPhotoGallery'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Bannings' => '[email protected]' }
s.platform = :ios, '8.0'
s.source = { :git => 'https://github.com/zhangao0086/DKPhotoGallery.git',
:tag => s.version.to_s }
s.frameworks = 'Foundation', 'UIKit', 'Photos', 'WebKit', 'AVFoundation', 'AVKit', 'AssetsLibrary', 'MobileCoreServices'
s.requires_arc = true
s.swift_version = '4.2'
s.dependency 'SDWebImage'
s.dependency 'SDWebImageFLPlugin'
s.subspec 'Core' do |core|
core.dependency 'DKPhotoGallery/Model'
core.dependency 'DKPhotoGallery/Preview'
core.source_files = 'DKPhotoGallery/DKPhotoGallery.swift',
'DKPhotoGallery/DKPhotoGalleryContentVC.swift',
'DKPhotoGallery/DKPhotoGalleryScrollView.swift',
'DKPhotoGallery/DKPhotoPreviewFactory.swift',
'DKPhotoGallery/DKPhotoIncrementalIndicator.swift',
'DKPhotoGallery/Transition/*.swift'
end
s.subspec 'Model' do |model|
model.source_files = 'DKPhotoGallery/DKPhotoGalleryItem.swift'
end
s.subspec 'Preview' do |preview|
preview.dependency 'DKPhotoGallery/Model'
preview.dependency 'DKPhotoGallery/Resource'
preview.source_files = 'DKPhotoGallery/Preview/**/*.swift'
end
s.subspec 'Resource' do |resource|
resource.resource_bundle = { "DKPhotoGallery" => "DKPhotoGallery/Resource/Resources/*" }
resource.source_files = 'DKPhotoGallery/Resource/*.swift'
end
end