mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-25 00:46:45 -04:00
Warnings are from Android's lint, not java
This commit is contained in:
@@ -47,17 +47,17 @@ android {
|
||||
|
||||
compileOptions.encoding = "UTF-8"
|
||||
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
// Enable all java warnings
|
||||
// Enable all Android lint warnings
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:all"
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// TODO: This person took the example code below from another blogpost online, however
|
||||
|
||||
Reference in New Issue
Block a user