[Compile Warnings As Errors] All Modules - Enable All Warnings as Errors#17318
[Compile Warnings As Errors] All Modules - Enable All Warnings as Errors#17318
Conversation
This 'allWarningsAsErrors' configuration was previously applied on the module level in order to make sure that, as the overall 'Kotlin Warnings as Errors' work is progressing, no new warnings are added to a specific module, which is already free of warnings. However, now that the overall 'Kotlin Warnings as Errors' work is complete on all modules, this module level 'allWarningsAsErrors' configuration is now replaced by a root level 'allWarningsAsErrors' configuration that will be applied by default to all modules.
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | WordPress | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | f7bc47e | |
|
|||||||||||
| 💡 Scan this QR code with your Android phone to download and install the APK directly on it. | ||
| App | Jetpack | |
| Build Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | f7bc47e | |
… into analysis/wordpress-all-warnings-as-errors
There was a problem hiding this comment.
Code changes lgtm 🎉
I've also tested by creating an artificial warning in a couple of sources and modules, resulting in failures of the related assemble task.
Thank you for the amazing effort to get this to the finish line @ParaskP7 🎉 🚀
P.S. I noticed that you've merged the PR branch with the latest trunk already; Please let me know if you want me to proceed with following the merging strategy 🙇
… into analysis/wordpress-all-warnings-as-errors
|
Thank you so much for reviewing this PR @ovitrif , we are at the end! 🙇 ❤️ 🚀
You are the best, thank you so much for going the extra mile with the testing part! 🌟 💯 🥇
And thank YOU for holing my hand while doing so! 🎉 🚀
Thanks for the notice, and double thanks for actually NOT merging this yet... 😅 I was waiting on @ajesh to land the |
Thank you for explaining Petros 🙇 🎉 Merged Hopefully CI goes 🟢 now 🤞 🏁 |
Thank you @ovitrif ! 🙇
🤞 Go 🟢 CI, go go go! 🏁 |


Parent: #17173
Closes: #17181
Closes: #17182
This PR enables all warnings as errors for all modules.
This
allWarningsAsErrorsconfiguration was previously applied on the module level in order to make sure that, as the overallKotlin Warnings as Errorswork is progressing, no new warnings are added to a specific module, which is already free of warnings.However, now that the overall
Kotlin Warnings as Errorswork is complete on all modules, this module levelallWarningsAsErrorsconfiguration is now replaced by a root levelallWarningsAsErrorsconfiguration that will be applied by default to all modules.PS: @ovitrif I added you as the main reviewer, that is, in addition to @wordpress-mobile/apps-infrastructure team itself, but randomly, since I want someone from the WordPress Android team to primarily sign-off on that change. 🥇
To test:
main,test,androidTest), per module (WordPress,editor,image-editor,processors,annotations) and see theassemblerelated task fail. Then, remove this warning and see it succeeding again.Merge instructions
trunk.trunk.trunk.[Status] Not Ready for Mergelabel.trunk.Regression Notes
N/A
See
To testsection above.N/A
PR submission checklist:
RELEASE-NOTES.txtif necessary.