suppress false warning (which affect only library projects)
This commit is contained in:
parent
1f35bd4c82
commit
d8e42662b3
1 changed files with 3 additions and 0 deletions
|
|
@ -66,6 +66,9 @@ android {
|
||||||
// Or, if you prefer, you can continue to check for errors in release builds,
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
||||||
// but continue the build even when errors are found:
|
// but continue the build even when errors are found:
|
||||||
abortOnError false
|
abortOnError false
|
||||||
|
// suppress false warning ("Resource IDs will be non-final in Android Gradle Plugin version
|
||||||
|
// 5.0, avoid using them in switch case statements"), which affects only library projects
|
||||||
|
disable 'NonConstantResourceId'
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue