forked from xamarin/GoogleApisForiOSComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
poco.cake
359 lines (330 loc) · 9.47 KB
/
poco.cake
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
/////////////////////////////////////////////////////////////////////
// Objects used to update a Google Component with its dependencies //
/////////////////////////////////////////////////////////////////////
public abstract class GoogleBase
{
public virtual string Name { get; }
public virtual string NuGetId { get; }
public string CurrentVersion { get; set; }
public string NewVersion { get; set; }
public bool Bumped { get; set; }
public virtual string [] BaseOf {
get { return new string[] { }; }
}
}
public abstract class Firebase
{
public class ABTesting : GoogleBase
{
public override string Name {
get { return "Firebase.ABTesting"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.ABTesting"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.RemoteConfig ().Name }; }
}
}
public class AdMob : GoogleBase
{
public override string Name {
get { return "Firebase.AdMob"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.AdMob"; }
}
}
public class Analytics : GoogleBase
{
public override string Name {
get { return "Firebase.Analytics"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Analytics"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.ABTesting ().Name, new Firebase.AdMob ().Name, new Firebase.DynamicLinks ().Name,
new Firebase.Invites ().Name, new Firebase.PerformanceMonitoring ().Name, new Firebase.RemoteConfig ().Name,
new Google.InstanceID ().Name, new Google.TagManager ().Name };
}
}
}
public class Auth : GoogleBase
{
public override string Name {
get { return "Firebase.Auth"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Auth"; }
}
}
public class CloudFirestore : GoogleBase
{
public override string Name {
get { return "Firebase.CloudFirestore"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.CloudFirestore"; }
}
}
public class CloudMessaging : GoogleBase
{
public override string Name {
get { return "Firebase.CloudMessaging"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.CloudMessaging"; }
}
}
public class Core : GoogleBase
{
public override string Name {
get { return "Firebase.Core"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Core"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.ABTesting ().Name, new Firebase.AdMob ().Name, new Firebase.Analytics ().Name,
new Firebase.Auth ().Name, new Firebase.CloudFirestore ().Name, new Firebase.CloudMessaging ().Name,
new Firebase.Database ().Name, new Firebase.DynamicLinks ().Name, new Firebase.InstanceID ().Name,
new Firebase.Invites ().Name, new Firebase.PerformanceMonitoring ().Name, new Firebase.RemoteConfig ().Name,
new Firebase.Storage ().Name, new Google.InstanceID ().Name, new Google.PlayGames ().Name,
new Google.SignIn ().Name, new Google.TagManager ().Name };
}
}
}
public class Crashlytics : GoogleBase
{
public override string Name {
get { return "Firebase.Crashlytics"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Crashlytics"; }
}
}
public class CrashReporting : GoogleBase
{
public override string Name {
get { return "Firebase.CrashReporting"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.CrashReporting"; }
}
}
public class Database : GoogleBase
{
public override string Name {
get { return "Firebase.Database"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Database"; }
}
}
public class DynamicLinks : GoogleBase
{
public override string Name {
get { return "Firebase.DynamicLinks"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.DynamicLinks"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.Invites ().Name }; }
}
}
public class InstanceID : GoogleBase
{
public override string Name {
get { return "Firebase.InstanceID"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.InstanceID"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.ABTesting ().Name, new Firebase.AdMob ().Name, new Firebase.Analytics ().Name,
new Firebase.CloudMessaging ().Name, new Firebase.DynamicLinks ().Name, new Firebase.Invites ().Name,
new Firebase.PerformanceMonitoring ().Name, new Firebase.RemoteConfig ().Name, new Google.InstanceID ().Name,
new Google.TagManager ().Name };
}
}
}
public class Invites : GoogleBase
{
public override string Name {
get { return "Firebase.Invites"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Invites"; }
}
}
public class PerformanceMonitoring : GoogleBase
{
public override string Name {
get { return "Firebase.PerformanceMonitoring"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.PerformanceMonitoring"; }
}
}
public class RemoteConfig : GoogleBase
{
public override string Name {
get { return "Firebase.RemoteConfig"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.RemoteConfig"; }
}
}
public class Storage : GoogleBase
{
public override string Name {
get { return "Firebase.Storage"; }
}
public override string NuGetId {
get { return "Xamarin.Firebase.iOS.Storage"; }
}
}
}
public abstract class Google
{
public class Analytics : GoogleBase
{
public override string Name {
get { return "Google.Analytics"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.Analytics"; }
}
public override string [] BaseOf {
get { return new [] { new Google.TagManager ().Name }; }
}
}
public class AppIndexing : GoogleBase
{
public override string Name {
get { return "Google.AppIndexing"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.AppIndexing"; }
}
}
public class Cast : GoogleBase
{
public override string Name {
get { return "Google.Cast"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.Cast"; }
}
}
public class Core : GoogleBase
{
public override string Name {
get { return "Google.Core"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.Core"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.Invites ().Name, new Google.InstanceID ().Name, new Google.PlayGames ().Name, new Google.SignIn ().Name }; }
}
}
public class InstanceID : GoogleBase
{
public override string Name {
get { return "Google.InstanceID"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.InstanceID"; }
}
}
public class Maps : GoogleBase
{
public override string Name {
get { return "Google.Maps"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.Maps"; }
}
}
public class MobileAds : GoogleBase
{
public override string Name {
get { return "Google.MobileAds"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.MobileAds"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.AdMob ().Name }; }
}
}
public class Places : GoogleBase
{
public override string Name {
get { return "Google.Places"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.Places"; }
}
}
public class PlayGames : GoogleBase
{
public override string Name {
get { return "Google.PlayGames"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.PlayGames"; }
}
}
public class SignIn : GoogleBase
{
public override string Name {
get { return "Google.SignIn"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.SignIn"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.Invites ().Name, new Google.PlayGames ().Name }; }
}
}
public class TagManager : GoogleBase
{
public override string Name {
get { return "Google.TagManager"; }
}
public override string NuGetId {
get { return "Xamarin.Google.iOS.TagManager"; }
}
}
}
public abstract class Xamarin
{
public abstract class Build
{
public class Download : GoogleBase
{
public override string Name {
get { return "Xamarin.Build.Download"; }
}
public override string NuGetId {
get { return "Xamarin.Build.Download"; }
}
public override string [] BaseOf {
get { return new [] { new Firebase.ABTesting ().Name, new Firebase.AdMob ().Name, new Firebase.Analytics ().Name,
new Firebase.Auth ().Name, new Firebase.CloudFirestore ().Name, new Firebase.CloudMessaging ().Name,
new Firebase.Core ().Name, new Firebase.Crashlytics ().Name, new Firebase.Database ().Name,
new Firebase.DynamicLinks ().Name, new Firebase.InstanceID ().Name, new Firebase.Invites ().Name,
new Firebase.PerformanceMonitoring ().Name, new Firebase.RemoteConfig ().Name, new Firebase.Storage ().Name,
new Google.Analytics ().Name, new Google.AppIndexing ().Name, new Google.Cast ().Name,
new Google.InstanceID ().Name, new Google.Maps ().Name, new Google.MobileAds ().Name,
new Google.Places ().Name, new Google.PlayGames ().Name, new Google.SignIn ().Name,
new Google.TagManager ().Name };
}
}
}
}
}