Closed TheRealAgentK closed 2 months ago
android.nonFinalResIds=false
This is the correct setting and leads to better performance and the benefits that we'd get from non-final resourceIds are not required as we don't modify resourceIDs at runtime for instance.
android.nonTransitiveRClass=false
This could be set to true
for performance improvements at - in our case - no cost or loss/restriction of resource-linking convenience. I will ensure various build scenarios still work fine before I commit to the change.
Some interesting resources (cc: @sumitramanga)
https://www.mobileit.cz/Blog/Pages/r-class.aspx https://developer.android.com/build/optimize-your-build#use-non-transitive-r-classes
Added by Gradle 8 automatically - can probably be changed for perf improvement of builds.