mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-22 14:24:27 +01:00
Re-enable linting
We were currently ignoring both deprecation and serial warnings. This prevents warnings during the build, but hides useful information about code that could/should be changed for all sorts of reasons. In some instances of such warnings, the appropriate action is already being taken (e.g. StorageUtils), so instead of ignoring all warnings, we can just add a @SuppressWarnings("deprecation") in the appropriate methods. Others scenarios will require more effort, like replacing ProgressDialogs with something else. Let's re-enable the lint warnings and work our way through them. Closes: #3273
This commit is contained in:
parent
11ccecca34
commit
012ed2e8f2
@ -19,7 +19,7 @@ allprojects {
|
|||||||
|
|
||||||
gradle.projectsEvaluated {
|
gradle.projectsEvaluated {
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
|
options.compilerArgs << "-Xlint"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user