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.

This commit is contained in:
MohitMaliFtechiz 2024-05-13 18:56:00 +05:30
parent e4971c670e
commit ad78cf2341

View File

@ -69,6 +69,14 @@ android {
viewBinding true viewBinding true
} }
ndkVersion '21.4.7075529' ndkVersion '21.4.7075529'
// Enabled the lint to avoid potential errors.
lintOptions {
abortOnError true
checkAllWarnings = true
warningsAsErrors true
disable("GradleDependency", "UnknownNullness")
}
} }
dependencies { dependencies {