summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-08-29 14:36:00 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-08-29 14:41:00 +0200
commit8ea4c2e04afe17aca4777e1a159d915d85935771 (patch)
treee79ade5088a7df178d37fcb1bd34b3cc17edf56f
parent6dd4dc450dbf0f4bd784654ac07c6069f6a474c8 (diff)
enable non-transitive R classes
from docs "Use non-transitive R classes to have faster builds for apps with multiple modules. Doing so helps prevent resource duplication by ensuring that each module's R class only contains references to its own resources without pulling references from its dependencies. This leads to faster builds and the corresponding benefits of compilation avoidance." while it doesn't make much of a difference for a small project like the remote, it's a good thing when the build just follows current defaults/best practices. Change-Id: Icac238046e59446eb9549dc982bae9f424de3c6f
-rw-r--r--android/sdremote/gradle.properties2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/sdremote/gradle.properties b/android/sdremote/gradle.properties
index bbe939b..793e623 100644
--- a/android/sdremote/gradle.properties
+++ b/android/sdremote/gradle.properties
@@ -1,5 +1,5 @@
android.defaults.buildfeatures.buildconfig=true
android.enableJetifier=true
android.nonFinalResIds=true
-android.nonTransitiveRClass=false
+android.nonTransitiveRClass=true
android.useAndroidX=true \ No newline at end of file