Skip to content

Commit 57f1152

Browse files
committed
suppress false warning (which affect only library projects)
1 parent fc4dd45 commit 57f1152

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ android {
6666
// Or, if you prefer, you can continue to check for errors in release builds,
6767
// but continue the build even when errors are found:
6868
abortOnError false
69+
// suppress false warning ("Resource IDs will be non-final in Android Gradle Plugin version
70+
// 5.0, avoid using them in switch case statements"), which affects only library projects
71+
disable 'NonConstantResourceId'
6972
}
7073

7174
compileOptions {

0 commit comments

Comments
 (0)