nextcloud / nextcloud/android

Build Performance Improvement: Use non-constant R classes

Open
#14,892 2 comments 0 reactions 0 assignees View on GitHub
0. Needs triage enhancement
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### How to use GitHub

* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are interested into the same feature.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.

**Is your feature request related to a problem? Please describe.**
Currently non-final Resource Id flag has been disabled in the gradle.properties file. However, it should have been enabled for faster compilation and for better resource shrinking. More details are available here: https://developer.android.com/build/optimize-your-build#use-non-constant-r-classes

**Describe the solution you'd like**
Enable the flag and refactor the code to adapt it.

**Describe alternatives you've considered**
N/A

**Additional context**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.