From ad78cf23412d6c0dc5cac85406582b6a974fe39b Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Mon, 13 May 2024 18:56:00 +0530 Subject: [PATCH] Enabled the lint in our project to avoid potential errors. The lint will automatically fail the CI when compiling the project if there is any error in project. --- lib/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/build.gradle b/lib/build.gradle index 14b2d80..7ee4a6b 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -69,6 +69,14 @@ android { viewBinding true } ndkVersion '21.4.7075529' + + // Enabled the lint to avoid potential errors. + lintOptions { + abortOnError true + checkAllWarnings = true + warningsAsErrors true + disable("GradleDependency", "UnknownNullness") + } } dependencies {