diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e2fa9dfdb..e72fcfcfc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -88,13 +88,9 @@ configure { } lint { - checkReleaseBuilds = false - // Or, if you prefer, you can continue to check for errors in release builds, - // but continue the build even when errors are found: + lintConfig = file("lint.xml") + // Continue the debug build even when errors are found 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 { diff --git a/app/lint.xml b/app/lint.xml new file mode 100644 index 000000000..d07ece5ea --- /dev/null +++ b/app/lint.xml @@ -0,0 +1,8 @@ + + + + +