Automattic / pocket-casts-android

Pocket Casts Android 🎧
https://forums.pocketcasts.com
Mozilla Public License 2.0
2.59k stars 224 forks source link

Enable configuration cache #3268

Closed wzieba closed 18 hours ago

wzieba commented 3 days ago

Description

This PR enables configuration cache, which should speed up running tasks locally. It's especially useful in this project (comparing to other ones at A8c) as it has more modules so confiugration time takes longer on average.

I've disabled cache for Spotless tasks because I was experiencing the following failure:

we could revisit this issue with the next stable release of the Spotless Gradle Plugin (current beta invalidates configuration cache without any changes to the code, effectively disabling the cache anyway)

Test

Run some Gradle tasks (build, validation) and verity that terminal output points to storing/reusing configuration cache and that tasks finish successfully.

Checklist

I have tested any UI changes...

dangermattic commented 3 days ago
1 Message
:book: This PR is still a Draft: some checks will be skipped.

Generated by :no_entry_sign: Danger

wpmobilebot commented 3 days ago
πŸ“² You can test the changes from this Pull Request in πŸ“± Mobile by scanning the QR code below to install the corresponding build.
App Name πŸ“± Mobile
Build TypedebugProd
Commit5562416da681aeb223fd9e4d920fbb494253e2d3
Direct Downloadpocketcasts-app-prototype-build-pr3268-5562416.apk
πŸ“² You can test the changes from this Pull Request in πŸš— Automotive by scanning the QR code below to install the corresponding build.
App Name πŸš— Automotive
Build TypedebugProd
Commit5562416da681aeb223fd9e4d920fbb494253e2d3
Direct Downloadpocketcasts-automotive-prototype-build-pr3268-5562416.apk
πŸ“² You can test the changes from this Pull Request in ⌚ Wear by scanning the QR code below to install the corresponding build.
App Name ⌚ Wear
Build TypedebugProd
Commit5562416da681aeb223fd9e4d920fbb494253e2d3
Direct Downloadpocketcasts-wear-prototype-build-pr3268-5562416.apk