This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
GoogleAPISwiftClient.podspec
57 lines (42 loc) · 2.31 KB
/
GoogleAPISwiftClient.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
57
Pod::Spec.new do |s|
s.name = "GoogleAPISwiftClient"
s.version = "0.5.0"
s.summary = "A Google API Client for Apple Platforms in 2016"
s.description = <<-DESC
A lot of us probably use at least one of Google's public data APIs, and those of us using Cocoa and Cocoa Touch are directed to the open-source [Google APIs Objective-C Client](https://code.google.com/p/google-api-objectivec-client/) for implementation help.
It was good for what it was in 2011, but that was before Swift, modern Objective-C, CocoaPods, and even Automatic Reference Counting! Some things in life age well; that library is not one of them. And Google hasn't helped by basically ignoring their client library in these ways.
That's why I decided I would try something new. Something that would actually utilize current technologies. Something that would be actually nice for developers to use.
I couldn't find what I was looking for, so I decided to build it myself.
This library is still in its early stages, but I'm excited for what this library could become!
DESC
s.homepage = "https://github.com/mattwyskiel/GoogleAPISwiftClient"
s.license = "Apache License, Version 2.0"
s.author = { "Matthew Wyskiel" => "[email protected]" }
s.social_media_url = "https://twitter.com/mattwyskiel"
# written in Swift
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.watchos.deployment_target = "2.0"
s.source = { :git => "https://github.com/mattwyskiel/GoogleAPISwiftClient.git", :tag => "0.5.0" }
s.framework = "Foundation"
s.requires_arc = true
s.dependency "Alamofire"
s.dependency "ObjectMapper"
s.module_name = "GoogleAPIs"
s.default_subspec = 'Common'
s.subspec "Common" do |sp|
sp.source_files = "GoogleClient/*.{swift}"
end
s.subspec "Discovery" do |sp|
sp.source_files = "GoogleClient/Discovery/*.{swift}"
sp.dependency 'GoogleAPISwiftClient/Common'
end
s.subspec "Blogger" do |sp|
sp.source_files = "GoogleClient/Blogger/*.{swift}"
sp.dependency 'GoogleAPISwiftClient/Common'
end
s.subspec "YouTube" do |sp|
sp.source_files = "GoogleClient/YouTube/*.{swift}"
sp.dependency 'GoogleAPISwiftClient/Common'
end
end