@@ -24,19 +24,16 @@ public function getFiles()
24
24
'scope ' => 'copy ' ,
25
25
'destination ' => '.github/workflows/publish.yml ' ,
26
26
'template ' => '/android/.github/workflows/publish.yml ' ,
27
- 'minify ' => false ,
28
27
],
29
28
[
30
29
'scope ' => 'method ' ,
31
30
'destination ' => 'docs/examples/kotlin/{{service.name | caseLower}}/{{method.name | caseDash}}.md ' ,
32
31
'template ' => '/android/docs/kotlin/example.md.twig ' ,
33
- 'minify ' => false ,
34
32
],
35
33
[
36
34
'scope ' => 'method ' ,
37
35
'destination ' => 'docs/examples/java/{{service.name | caseLower}}/{{method.name | caseDash}}.md ' ,
38
36
'template ' => '/android/docs/java/example.md.twig ' ,
39
- 'minify ' => false ,
40
37
],
41
38
[
42
39
'scope ' => 'copy ' ,
@@ -47,207 +44,193 @@ public function getFiles()
47
44
'scope ' => 'copy ' ,
48
45
'destination ' => 'gradle/wrapper/gradle-wrapper.properties ' ,
49
46
'template ' => '/android/gradle/wrapper/gradle-wrapper.properties ' ,
50
- 'minify ' => false ,
51
47
],
52
48
[
53
49
'scope ' => 'copy ' ,
54
50
'destination ' => 'scripts/publish-config.gradle ' ,
55
51
'template ' => '/android/scripts/publish-config.gradle ' ,
56
- 'minify ' => false ,
57
52
],
58
53
[
59
54
'scope ' => 'copy ' ,
60
55
'destination ' => 'scripts/publish-module.gradle ' ,
61
56
'template ' => '/android/scripts/publish-module.gradle ' ,
62
- 'minify ' => false ,
63
57
],
64
58
[
65
59
'scope ' => 'copy ' ,
66
60
'destination ' => '.gitignore ' ,
67
61
'template ' => '/android/.gitignore ' ,
68
- 'minify ' => false ,
69
62
],
70
63
[
71
64
'scope ' => 'default ' ,
72
65
'destination ' => 'build.gradle ' ,
73
66
'template ' => '/android/build.gradle.twig ' ,
74
- 'minify ' => false ,
75
67
],
76
68
[
77
69
'scope ' => 'default ' ,
78
70
'destination ' => 'CHANGELOG.md ' ,
79
71
'template ' => '/android/CHANGELOG.md.twig ' ,
80
- 'minify ' => false ,
81
72
],
82
73
[
83
74
'scope ' => 'copy ' ,
84
75
'destination ' => 'gradle.properties ' ,
85
76
'template ' => '/android/gradle.properties ' ,
86
- 'minify ' => false ,
87
77
],
88
78
[
89
79
'scope ' => 'copy ' ,
90
80
'destination ' => 'gradlew ' ,
91
81
'template ' => '/android/gradlew ' ,
92
- 'minify ' => false ,
93
82
],
94
83
[
95
84
'scope ' => 'copy ' ,
96
85
'destination ' => 'gradlew.bat ' ,
97
86
'template ' => '/android/gradlew.bat ' ,
98
- 'minify ' => false ,
99
87
],
100
88
[
101
89
'scope ' => 'default ' ,
102
90
'destination ' => 'LICENSE.md ' ,
103
91
'template ' => '/android/LICENSE.md.twig ' ,
104
- 'minify ' => false ,
105
92
],
106
93
[
107
94
'scope ' => 'default ' ,
108
95
'destination ' => 'README.md ' ,
109
96
'template ' => '/android/README.md.twig ' ,
110
- 'minify ' => false ,
111
97
],
112
98
[
113
99
'scope ' => 'copy ' ,
114
100
'destination ' => 'settings.gradle ' ,
115
101
'template ' => '/android/settings.gradle ' ,
116
- 'minify ' => false ,
117
102
],
118
103
// Config for project :library
119
104
[
120
105
'scope ' => 'default ' ,
121
106
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Client.kt ' ,
122
107
'template ' => '/android/library/src/main/java/io/appwrite/Client.kt.twig ' ,
123
- 'minify ' => false ,
124
108
],
125
109
[
126
110
'scope ' => 'default ' ,
127
111
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Query.kt ' ,
128
112
'template ' => '/android/library/src/main/java/io/appwrite/Query.kt.twig ' ,
129
- 'minify ' => false ,
130
113
],
131
114
[
132
115
'scope ' => 'default ' ,
133
116
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/exceptions/{{spec.title | caseUcfirst}}Exception.kt ' ,
134
117
'template ' => '/android/library/src/main/java/io/appwrite/exceptions/Exception.kt.twig ' ,
135
- 'minify ' => false ,
136
118
],
137
119
[
138
120
'scope ' => 'default ' ,
139
121
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/extensions/JsonExtensions.kt ' ,
140
122
'template ' => '/android/library/src/main/java/io/appwrite/extensions/JsonExtensions.kt.twig ' ,
141
- 'minify ' => false ,
142
123
],
143
124
[
144
125
'scope ' => 'default ' ,
145
126
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/extensions/CollectionExtensions.kt ' ,
146
127
'template ' => '/android/library/src/main/java/io/appwrite/extensions/CollectionExtensions.kt.twig ' ,
147
- 'minify ' => false ,
148
128
],
149
129
[
150
130
'scope ' => 'default ' ,
151
131
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/json/PreciseNumberAdapter.kt ' ,
152
132
'template ' => '/android/library/src/main/java/io/appwrite/json/PreciseNumberAdapter.kt.twig ' ,
153
- 'minify ' => false ,
154
133
],
155
134
[
156
135
'scope ' => 'default ' ,
157
136
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/models/RealtimeModels.kt ' ,
158
137
'template ' => '/android/library/src/main/java/io/appwrite/models/RealtimeModels.kt.twig ' ,
159
- 'minify ' => false ,
160
138
],
161
139
[
162
140
'scope ' => 'default ' ,
163
141
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/models/UploadProgress.kt ' ,
164
142
'template ' => '/android/library/src/main/java/io/appwrite/models/UploadProgress.kt.twig ' ,
165
- 'minify ' => false ,
166
143
],
167
144
[
168
145
'scope ' => 'default ' ,
169
146
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/WebAuthComponent.kt ' ,
170
147
'template ' => '/android/library/src/main/java/io/appwrite/WebAuthComponent.kt.twig ' ,
171
- 'minify ' => false ,
172
148
],
173
149
[
174
150
'scope ' => 'default ' ,
175
151
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/KeepAliveService.kt ' ,
176
152
'template ' => '/android/library/src/main/java/io/appwrite/KeepAliveService.kt.twig ' ,
177
- 'minify ' => false ,
178
153
],
179
154
[
180
155
'scope ' => 'default ' ,
181
156
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/views/CallbackActivity.kt ' ,
182
157
'template ' => '/android/library/src/main/java/io/appwrite/views/CallbackActivity.kt.twig ' ,
183
- 'minify ' => false ,
184
158
],
185
159
[
186
160
'scope ' => 'default ' ,
187
161
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/services/Service.kt ' ,
188
162
'template ' => '/android/library/src/main/java/io/appwrite/services/Service.kt.twig ' ,
189
- 'minify ' => false ,
190
163
],
191
164
[
192
165
'scope ' => 'default ' ,
193
166
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/services/Realtime.kt ' ,
194
167
'template ' => '/android/library/src/main/java/io/appwrite/services/Realtime.kt.twig ' ,
195
- 'minify ' => false ,
168
+ ],
169
+ [
170
+ 'scope ' => 'default ' ,
171
+ 'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/cookies/Extensions.kt ' ,
172
+ 'template ' => '/android/library/src/main/java/io/appwrite/cookies/Extensions.kt.twig ' ,
173
+ ],
174
+ [
175
+ 'scope ' => 'default ' ,
176
+ 'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/cookies/stores/InMemoryCookieStore.kt ' ,
177
+ 'template ' => '/android/library/src/main/java/io/appwrite/cookies/stores/InMemoryCookieStore.kt.twig ' ,
178
+ ],
179
+ [
180
+ 'scope ' => 'default ' ,
181
+ 'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/cookies/stores/SharedPreferencesCookieStore.kt ' ,
182
+ 'template ' => '/android/library/src/main/java/io/appwrite/cookies/stores/SharedPreferencesCookieStore.kt.twig ' ,
183
+ ],
184
+ [
185
+ 'scope ' => 'default ' ,
186
+ 'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/cookies/InternalCookie.kt ' ,
187
+ 'template ' => '/android/library/src/main/java/io/appwrite/cookies/InternalCookie.kt.twig ' ,
196
188
],
197
189
[
198
190
'scope ' => 'service ' ,
199
191
'destination ' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/services/{{service.name | caseUcfirst}}.kt ' ,
200
192
'template ' => '/android/library/src/main/java/io/appwrite/services/ServiceTemplate.kt.twig ' ,
201
- 'minify ' => false ,
202
193
],
203
194
[
204
195
'scope ' => 'default ' ,
205
196
'destination ' => '/library/src/main/AndroidManifest.xml ' ,
206
197
'template ' => '/android/library/src/main/AndroidManifest.xml.twig ' ,
207
- 'minify ' => false ,
208
198
],
209
199
[
210
200
'scope ' => 'default ' ,
211
201
'destination ' => '/library/build.gradle ' ,
212
202
'template ' => '/android/library/build.gradle.twig ' ,
213
- 'minify ' => false ,
214
203
],
215
204
[
216
205
'scope ' => 'copy ' ,
217
206
'destination ' => '/library/.gitignore ' ,
218
207
'template ' => '/android/library/.gitignore ' ,
219
- 'minify ' => false ,
220
208
],
221
209
// Config for project :example
222
210
[
223
211
'scope ' => 'default ' ,
224
212
'destination ' => '/example/src/main/java/{{ sdk.namespace | caseSlash }}/android/MainActivity.kt ' ,
225
213
'template ' => '/android/example/src/main/java/io/appwrite/android/MainActivity.kt.twig ' ,
226
- 'minify ' => false ,
227
214
],
228
215
[
229
216
'scope ' => 'default ' ,
230
217
'destination ' => '/example/src/main/java/{{ sdk.namespace | caseSlash }}/android/ui/accounts/AccountsFragment.kt ' ,
231
218
'template ' => '/android/example/src/main/java/io/appwrite/android/ui/accounts/AccountsFragment.kt.twig ' ,
232
- 'minify ' => false ,
233
219
],
234
220
[
235
221
'scope ' => 'default ' ,
236
222
'destination ' => '/example/src/main/java/{{ sdk.namespace | caseSlash }}/android/ui/accounts/AccountsViewModel.kt ' ,
237
223
'template ' => '/android/example/src/main/java/io/appwrite/android/ui/accounts/AccountsViewModel.kt.twig ' ,
238
- 'minify ' => false ,
239
224
],
240
225
[
241
226
'scope ' => 'default ' ,
242
227
'destination ' => '/example/src/main/java/{{ sdk.namespace | caseSlash }}/android/utils/Client.kt ' ,
243
228
'template ' => '/android/example/src/main/java/io/appwrite/android/utils/Client.kt.twig ' ,
244
- 'minify ' => false ,
245
229
],
246
230
[
247
231
'scope ' => 'default ' ,
248
232
'destination ' => '/example/src/main/java/{{ sdk.namespace | caseSlash }}/android/utils/Event.kt ' ,
249
233
'template ' => '/android/example/src/main/java/io/appwrite/android/utils/Event.kt.twig ' ,
250
- 'minify ' => false ,
251
234
],
252
235
[
253
236
'scope ' => 'copy ' ,
@@ -298,26 +281,22 @@ public function getFiles()
298
281
'scope ' => 'copy ' ,
299
282
'destination ' => '/example/src/main/AndroidManifest.xml ' ,
300
283
'template ' => '/android/example/src/main/AndroidManifest.xml ' ,
301
- 'minify ' => false ,
302
284
],
303
285
[
304
286
'scope ' => 'default ' ,
305
287
'destination ' => '/example/build.gradle ' ,
306
288
'template ' => '/android/example/build.gradle.twig ' ,
307
- 'minify ' => false ,
308
289
],
309
290
[
310
291
'scope ' => 'copy ' ,
311
292
'destination ' => '/example/.gitignore ' ,
312
293
'template ' => '/android/example/.gitignore ' ,
313
- 'minify ' => false ,
314
294
],
315
295
// Config for project :example-java
316
296
[
317
297
'scope ' => 'default ' ,
318
298
'destination ' => '/example-java/src/main/java/{{ sdk.namespace | caseSlash }}/example_java/MainActivity.java ' ,
319
299
'template ' => '/android/example-java/src/main/java/io/appwrite/example_java/MainActivity.java.twig ' ,
320
- 'minify ' => false ,
321
300
],
322
301
[
323
302
'scope ' => 'copy ' ,
@@ -363,27 +342,22 @@ public function getFiles()
363
342
'scope ' => 'copy ' ,
364
343
'destination ' => '/example-java/src/main/AndroidManifest.xml ' ,
365
344
'template ' => '/android/example-java/src/main/AndroidManifest.xml ' ,
366
- 'minify ' => false ,
367
345
],
368
346
[
369
347
'scope ' => 'default ' ,
370
348
'destination ' => '/example-java/build.gradle ' ,
371
349
'template ' => '/android/example-java/build.gradle.twig ' ,
372
- 'minify ' => false ,
373
350
],
374
351
[
375
352
'scope ' => 'copy ' ,
376
353
'destination ' => '/example-java/.gitignore ' ,
377
354
'template ' => '/android/example-java/.gitignore ' ,
378
- 'minify ' => false ,
379
355
],
380
356
[
381
357
'scope ' => 'definition ' ,
382
358
'destination ' => 'library/src/main/java/io/appwrite/models/{{ definition.name | caseUcfirst }}.kt ' ,
383
359
'template ' => '/android/library/src/main/java/io/appwrite/models/Model.kt.twig ' ,
384
- 'minify ' => false ,
385
360
],
386
361
];
387
362
}
388
363
}
389
-
0 commit comments