File tree Expand file tree Collapse file tree 10 files changed +128
-52
lines changed
appcheck/firebase-appcheck-debug
firebase-encoders-reflective
protoc-gen-firebase-encoders/tests
gradleplugin/plugin/src/main/resources/com/google/firebase/dataconnect/gradle/plugin
smoke-tests/src/androidTest/backend/functions/functions Expand file tree Collapse file tree 10 files changed +128
-52
lines changed Original file line number Diff line number Diff line change 1818
1919 - name : Get changed changelog files
2020 id : changed-files
21- uses : tj-actions/changed-files@v36 .0.10
21+ uses : tj-actions/changed-files@v41 .0.0
2222 with :
2323 files_ignore : |
2424 buildSrc/**
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ dependencies {
5353 api ' com.google.firebase:firebase-annotations:16.2.0'
5454 api ' com.google.firebase:firebase-common:21.0.0'
5555 api ' com.google.firebase:firebase-components:18.0.0'
56+ implementation platform(libs. kotlin. bom)
5657
5758 implementation libs. playservices. base
5859 implementation libs. playservices. tasks
Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ android {
4545}
4646
4747dependencies {
48- implementation ' androidx.annotation:annotation:1.1.0 '
48+ implementation libs . androidx. annotation
4949
50- testImplementation ' androidx.test:runner:1.2.0 '
50+ testImplementation libs . androidx. test. runner
5151 testImplementation libs. androidx. test. junit
5252 testImplementation libs. truth
53- testImplementation ' junit:junit:4.13-rc-1 '
54- testImplementation ' org .mockito:mockito-core:2.25.0 '
53+ testImplementation libs . junit
54+ testImplementation libs . mockito. core
5555 testImplementation libs. robolectric
5656}
5757
Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ android {
5151dependencies {
5252 api ' com.google.firebase:firebase-encoders:17.0.0'
5353
54- implementation ' androidx.annotation:annotation:1.1.0 '
54+ implementation libs . androidx. annotation
5555
56- testImplementation ' androidx.test:runner:1.3.0 '
56+ testImplementation libs . androidx. test. runner
5757 testImplementation libs. androidx. test. junit
58- testImplementation " com.google. truth:truth:1.0.1 "
59- testImplementation ' junit:junit:4.13 '
60- testImplementation ' org .mockito:mockito-core:3.3.3 '
58+ testImplementation libs . truth
59+ testImplementation libs . junit
60+ testImplementation libs . mockito. core
6161 testImplementation libs. robolectric
6262}
6363
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ dependencies {
4848 api ' com.google.firebase:firebase-encoders:17.0.0'
4949 api ' com.google.firebase:firebase-encoders-json:18.0.0'
5050
51- implementation ' androidx.annotation:annotation:1.1.0 '
51+ implementation libs . androidx. annotation
5252
53- testImplementation ' androidx.test:runner:1.3.0 '
53+ testImplementation libs . androidx. test. runner
5454 testImplementation libs. androidx. test. junit
55- testImplementation ' com.google. truth:truth:1.0.1 '
56- testImplementation ' junit:junit:4.13 '
57- testImplementation ' org .mockito:mockito-core:3.3.3 '
55+ testImplementation libs . truth
56+ testImplementation libs . junit
57+ testImplementation libs . mockito. core
5858 testImplementation libs. robolectric
5959}
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ java {
3030
3131
3232dependencies {
33- implementation ' androidx.annotation:annotation:1.1.0 '
33+ implementation libs . androidx. annotation
3434
3535 testImplementation libs. truth
36- testImplementation ' junit:junit:4.13 '
36+ testImplementation libs . junit
3737}
3838
3939tasks. withType(JavaCompile ) {
Original file line number Diff line number Diff line change @@ -52,6 +52,6 @@ dependencies {
5252 testImplementation project(" :encoders:firebase-encoders" )
5353 testImplementation project(" :encoders:firebase-encoders-proto" )
5454 testImplementation libs. protobuf. java
55- testImplementation " com.google. truth:truth:1.0.1 "
56- testImplementation ' junit:junit:4.13.1 '
55+ testImplementation libs . truth
56+ testImplementation libs . junit
5757}
Original file line number Diff line number Diff line change @@ -108,10 +108,12 @@ spotless {
108108 }
109109}
110110
111- @DisableCachingByDefault(because = " Code generation is very fast and not worth caching " )
111+ @CacheableTask
112112abstract class DataConnectGenerateSourcesTask : DefaultTask () {
113113
114- @get:InputDirectory abstract val inputDirectory: Property <DirectoryTree >
114+ @get:InputDirectory
115+ @get:PathSensitive(PathSensitivity .RELATIVE )
116+ abstract val inputDirectory: Property <DirectoryTree >
115117
116118 @get:Input abstract val firebaseToolsVersion: Property <String >
117119
@@ -270,22 +272,19 @@ run {
270272
271273 val path = providers.environmentVariable(" PATH" )
272274 firebaseToolsVersion =
273- providers.provider {
274- providers
275- .exec {
276- DataConnectGenerateSourcesTask .configureFirebaseCommand(
277- this ,
278- firebaseCommand = firebaseCommand.get(),
279- nodeExecutableDirectory = nodeExecutableDirectory.orNull,
280- path = path.orNull,
281- )
282- args(" --version" )
283- }
284- .standardOutput
285- .asText
286- .get()
287- .trim()
288- }
275+ providers
276+ .exec {
277+ DataConnectGenerateSourcesTask .configureFirebaseCommand(
278+ this ,
279+ firebaseCommand = firebaseCommand.get(),
280+ nodeExecutableDirectory = nodeExecutableDirectory.orNull,
281+ path = path.orNull,
282+ )
283+ args(" --version" )
284+ }
285+ .standardOutput
286+ .asText
287+ .map { it.trim() }
289288
290289 workDirectory = layout.buildDirectory.dir(name)
291290 }
Original file line number Diff line number Diff line change 11{
2- "defaultVersion" : " 1.7.0 " ,
2+ "defaultVersion" : " 1.7.4 " ,
33 "versions" : [
44 {
55 "version" : " 1.3.4" ,
288288 "os" : " linux" ,
289289 "size" : 25272472 ,
290290 "sha512DigestHex" : " 795c3f63a3c78b94204ae8c525227f3295a02cd90e553f52bde543029a91f68da0d17653cc6b4c863ed778104fd2baa97a729f80ab4bd54dd5dd4f5e15354b7a"
291+ },
292+ {
293+ "version" : " 1.7.1" ,
294+ "os" : " windows" ,
295+ "size" : 25788928 ,
296+ "sha512DigestHex" : " e31515c8dc138775125998a37f7bf4abf625d2d6336b10b66a05cc3d4df6055862e27e74f3abee73295d2bee15f5b789bca43cd12df44219b5636d2c59fab939"
297+ },
298+ {
299+ "version" : " 1.7.1" ,
300+ "os" : " macos" ,
301+ "size" : 25359104 ,
302+ "sha512DigestHex" : " cfb72065a37aaf7093ae4cac5480b90079b5eb9dc04ea3f25f62fed20b5627a289681796a422df77296e75b9492a0d7405983fe1906e2aa1fe299e303f6a651e"
303+ },
304+ {
305+ "version" : " 1.7.1" ,
306+ "os" : " linux" ,
307+ "size" : 25272472 ,
308+ "sha512DigestHex" : " 888a40b95489071bfa40596d7d02dd91dff85ef6d15bda75d29caec3a76cc1deaa52aa2a95c0760f4bc97f7905e3222f0c2fdb6baccb8de35c4036c135e541d4"
309+ },
310+ {
311+ "version" : " 1.7.2" ,
312+ "os" : " windows" ,
313+ "size" : 25441792 ,
314+ "sha512DigestHex" : " 406aa5e815a8371b0bf6d5205d10d89a38e981eece2a033f6442a71c1b71c3cb3bf340c830f3dc228ed8acad7878818a07731236a631cfe5b932fef8a6c3972d"
315+ },
316+ {
317+ "version" : " 1.7.2" ,
318+ "os" : " macos" ,
319+ "size" : 25019136 ,
320+ "sha512DigestHex" : " 3300a5b3e5342fc274bc09823cf3e06c6a7b7eca23048d320ff99ff305d7b96e0ca9d7e0cde30356d539684f65cd8aa43b1ba2041fdb4418cc171663221cf7ea"
321+ },
322+ {
323+ "version" : " 1.7.2" ,
324+ "os" : " linux" ,
325+ "size" : 24932504 ,
326+ "sha512DigestHex" : " 1fbc868e0549180910a9c3dee0e26d042a1a470312a4c66442fe44fa7878acfc1a9b8928f5699b144fa9bb7a3dea2d4ab20f307be49a3ea7b562a2217610ccf4"
327+ },
328+ {
329+ "version" : " 1.7.3" ,
330+ "os" : " windows" ,
331+ "size" : 25641984 ,
332+ "sha512DigestHex" : " 5d1da00307d3a7a446a0a6117bde6833b868626c08bc7a53e8abb989c83cb8fabec2de930c2fe45336388f0a0b8c954fe00fd5acea3d0a296a9d6b0e6659c873"
333+ },
334+ {
335+ "version" : " 1.7.3" ,
336+ "os" : " macos" ,
337+ "size" : 25211648 ,
338+ "sha512DigestHex" : " b6ccea65bb8596535d93b6e8a847c571c79da7cff374f54971608e9751134a618d69c4202aebcdb657ccd840ac4a2e7b98c189fa36323cf0c4816a6ca6a48c00"
339+ },
340+ {
341+ "version" : " 1.7.3" ,
342+ "os" : " linux" ,
343+ "size" : 25125016 ,
344+ "sha512DigestHex" : " 2f4c911086f83f8f46264e37b0c1840239f8a28283e529bc476f6b7382acd83e1326dadf4e4e84c85cb5bf2d72f1369875be4c197bdd8cfc8f37cdc1cd2cd228"
345+ },
346+ {
347+ "version" : " 1.7.4" ,
348+ "os" : " windows" ,
349+ "size" : 25707520 ,
350+ "sha512DigestHex" : " cd147b8c8731b98c55979fb600de9ec74f28b619d38649de18d3a5982169a241209acaefe26f262f23b1df7511b1d6c4734760ef7f54acdcd3fae262f5dc4a85"
351+ },
352+ {
353+ "version" : " 1.7.4" ,
354+ "os" : " macos" ,
355+ "size" : 25277184 ,
356+ "sha512DigestHex" : " 93a93b215e02f3f8f16f45f665f5dcd42a112240031cb15db9e17fdfb919f189abf4bf9f3afcc8d34c5adcf4b802f839accb185b1ee93848c68267d2d3455928"
357+ },
358+ {
359+ "version" : " 1.7.4" ,
360+ "os" : " linux" ,
361+ "size" : 25190552 ,
362+ "sha512DigestHex" : " abbfe1f4973c0bc0f6a89d618886ccbb09bd8fd34b66c142a67c9899b70b600ebbd5f96f15a65fc78096b3adbb18708786b181ba7f51bc85314b62888ba01293"
291363 }
292364 ]
293365}
You can’t perform that action at this time.
0 commit comments