Skip to content

Commit ad78cf2

Browse files
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.
1 parent e4971c6 commit ad78cf2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

lib/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,14 @@ android {
6969
viewBinding true
7070
}
7171
ndkVersion '21.4.7075529'
72+
73+
// Enabled the lint to avoid potential errors.
74+
lintOptions {
75+
abortOnError true
76+
checkAllWarnings = true
77+
warningsAsErrors true
78+
disable("GradleDependency", "UnknownNullness")
79+
}
7280
}
7381

7482
dependencies {

0 commit comments

Comments
 (0)