Skip to content

Commit

Permalink
Enabled the lint in our project to avoid potential errors. The lint w…
Browse files Browse the repository at this point in the history
…ill automatically fail the CI when compiling the project if there is any error in project.
  • Loading branch information
MohitMaliDeveloper committed May 13, 2024
1 parent e4971c6 commit ad78cf2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ad78cf2

Please sign in to comment.