Commit 0697dd3
authored
Modernize FirebaseLibraryExtension (#6377)
Per [b/270576405](https://b.corp.google.com/issues/270576405),
This migrates `FirebaseLibraryExtension` to Kotlin, and takes advantage
of more modern gradle features (such as properties/conventions) to help
with build time and maintenance.
This also adds documentation for all the exposed properties and options
on `FirebaseLibraryExtension`.
Future `TODO`s have been left denoting possible future modernization
efforts.
This PR also fixes the following:
- [b/374137268](https://b.corp.google.com/issues/374137268) -> Migrate
buildSrc to spotless1 parent ec48742 commit 0697dd3
File tree
89 files changed
+695
-525
lines changed- appcheck
- firebase-appcheck-debug-testing
- firebase-appcheck-debug
- firebase-appcheck-playintegrity
- firebase-appcheck
- ktx
- buildSrc
- src
- main/java/com/google/firebase/gradle
- plugins
- ci
- device
- semver
- test/kotlin/com/google/firebase/gradle/plugins
- firebase-appdistribution-api
- ktx
- firebase-appdistribution
- firebase-common
- ktx
- firebase-config
- ktx
- firebase-crashlytics-ndk
- firebase-crashlytics
- ktx
- firebase-database
- ktx
- firebase-dataconnect
- firebase-dynamic-links
- ktx
- firebase-firestore
- ktx
- firebase-functions
- ktx
- firebase-inappmessaging-display
- ktx
- firebase-inappmessaging
- ktx
- firebase-installations
- ktx
- firebase-messaging-directboot
- firebase-messaging
- ktx
- firebase-ml-modeldownloader
- ktx
- firebase-perf
- ktx
- firebase-sessions
- firebase-storage
- ktx
- gradle
- transport
- transport-backend-cct
- transport-runtime
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
89 files changed
+695
-525
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
33 | 45 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
| |||
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
87 | | - | |
| 95 | + | |
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
Lines changed: 110 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
40 | 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 | + | |
41 | 97 | | |
42 | 98 | | |
43 | 99 | | |
| |||
59 | 115 | | |
60 | 116 | | |
61 | 117 | | |
62 | | - | |
63 | | - | |
| 118 | + | |
| 119 | + | |
64 | 120 | | |
65 | 121 | | |
66 | 122 | | |
| |||
75 | 131 | | |
76 | 132 | | |
77 | 133 | | |
78 | | - | |
| 134 | + | |
79 | 135 | | |
80 | 136 | | |
81 | 137 | | |
| |||
122 | 178 | | |
123 | 179 | | |
124 | 180 | | |
125 | | - | |
| 181 | + | |
126 | 182 | | |
127 | 183 | | |
128 | 184 | | |
129 | 185 | | |
| 186 | + | |
| 187 | + | |
130 | 188 | | |
131 | 189 | | |
132 | 190 | | |
133 | 191 | | |
134 | 192 | | |
135 | 193 | | |
| 194 | + | |
| 195 | + | |
136 | 196 | | |
137 | | - | |
138 | | - | |
| 197 | + | |
139 | 198 | | |
140 | 199 | | |
141 | | - | |
| 200 | + | |
142 | 201 | | |
143 | 202 | | |
144 | 203 | | |
| |||
155 | 214 | | |
156 | 215 | | |
157 | 216 | | |
158 | | - | |
159 | 217 | | |
160 | 218 | | |
161 | 219 | | |
| |||
198 | 256 | | |
199 | 257 | | |
200 | 258 | | |
201 | | - | |
| 259 | + | |
202 | 260 | | |
203 | 261 | | |
204 | 262 | | |
| |||
209 | 267 | | |
210 | 268 | | |
211 | 269 | | |
212 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
213 | 273 | | |
214 | 274 | | |
215 | 275 | | |
216 | 276 | | |
217 | | - | |
| 277 | + | |
218 | 278 | | |
219 | 279 | | |
220 | | - | |
| 280 | + | |
221 | 281 | | |
222 | 282 | | |
223 | 283 | | |
| |||
264 | 324 | | |
265 | 325 | | |
266 | 326 | | |
| 327 | + | |
| 328 | + | |
267 | 329 | | |
268 | 330 | | |
269 | | - | |
| 331 | + | |
270 | 332 | | |
271 | 333 | | |
272 | 334 | | |
273 | 335 | | |
274 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
275 | 342 | | |
276 | | - | |
| 343 | + | |
277 | 344 | | |
278 | 345 | | |
279 | 346 | | |
| |||
283 | 350 | | |
284 | 351 | | |
285 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
286 | 369 | | |
287 | 370 | | |
288 | 371 | | |
| |||
298 | 381 | | |
299 | 382 | | |
300 | 383 | | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments