summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAnderson Mesquita <andersonvom@gmail.com>2019-07-21 23:18:38 -0400
committerAnderson Mesquita <andersonvom@gmail.com>2019-07-21 23:18:38 -0400
commit012ed2e8f25054aabb72a8825ce1551d7722a0ec (patch)
tree31a576865fabadbb25996043a473ca88f728a0bf /build.gradle
parent11ccecca3401d820ef36490ef97230d32d4778fb (diff)
downloadantennapod-012ed2e8f25054aabb72a8825ce1551d7722a0ec.zip
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
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 55c44bb77..9c7e856c9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,7 +19,7 @@ allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
- options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
+ options.compilerArgs << "-Xlint"
}
}
}