wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.99k stars 1.33k forks source link

Enable configuration cache #21436

Closed wzieba closed 1 week ago

wzieba commented 2 weeks ago

Description

This PR enables Gradle's configuration cache in the project and updates some tasks to be compatible with configuration cache.

Testing

Run printVersionName, printAllVersions and printResourceConfigurations on trunk and compare the results with the output of tasks on this branch. The result should be the same.

dangermattic commented 2 weeks ago
1 Warning
:warning: PR is not assigned to a milestone.

Generated by :no_entry_sign: Danger

wpmobilebot commented 2 weeks ago
WordPress📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress WordPress
FlavorJalapeno
Build TypeDebug
Versionpr21436-88932b7
Commit88932b7f1322ef15d56cc0bfea85adeadf7daa68
Direct Downloadwordpress-prototype-build-pr21436-88932b7.apk
Note: Google Login is not supported on these builds.
wpmobilebot commented 2 weeks ago
Jetpack📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack Jetpack
FlavorJalapeno
Build TypeDebug
Versionpr21436-88932b7
Commit88932b7f1322ef15d56cc0bfea85adeadf7daa68
Direct Downloadjetpack-prototype-build-pr21436-88932b7.apk
Note: Google Login is not supported on these builds.
sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

wzieba commented 1 week ago

Question (❓): Did you maybe (quickly) measure for any configuration time improvement, just curious if we got any? 🤔 🍀 🤞

Not really, but the improvement can be seen right away (e.g. running task tasks with configuration cache and without).

For the production data, we have a Grafana chart that shows build configuration time, so I think this will go down.