mirror of
https://github.com/kiwix/java-libkiwix.git
synced 2025-09-10 15:50:26 -04:00
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:
parent
e4971c670e
commit
ad78cf2341
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user