Skip to content

Commit

Permalink
Add comment on android.nonFinalResIds=false
Browse files Browse the repository at this point in the history
  • Loading branch information
oakkitten committed Feb 18, 2024
1 parent 80f623b commit da63de3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ android.useAndroidX=true
kapt.incremental.apt=true

android.nonTransitiveRClass=true

# Using non-final resource IDs is supposed to improve compilation performance.
# The idea is that they must be unique among libraries,
# so in case of a collision recompilation is reqiured.
# However, in practice, after switching this to true (now default) I see
# * no difference in incremental build times, and
# * slight increase in a full build time,
# so let's leave it as it is for now.
android.nonFinalResIds=false

0 comments on commit da63de3

Please sign in to comment.